Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

aix (14) Versions 0.0.2

Custom resources useful for AIX systems

Policyfile
Berkshelf
Knife
cookbook 'aix', '= 0.0.2', :supermarket
cookbook 'aix', '= 0.0.2'
knife supermarket install aix
knife supermarket download aix
README
Dependencies
Changelog
Quality 0%

AIX Cookbook

This cookbook contains useful resources for using Chef with AIX systems.

Supported Platforms

  • AIX 6.1
  • AIX 7.1

Usage

This cookbook has no recipes.

Resources

inittab

Manage the inittab entries. Example:

aix_inittab 'my-awesome-aix-daemon' do
  runlevel '2'
  processaction 'once'
  command '/opt/mycompany/libexec/mydaemon -d > /dev/console 2>&1'
  action :install
end

Parameters:

  • runlevel - the runlevel of the inittab entry
  • processaction - the action of the process (e.g. "once", "boot", etc.)
  • command - the command to run

subserver

Manage the services started by inetd by editing /etc/inetd.conf. Example:

aix_subserver 'tftp' do
  protocol 'udp'
  action :disable
end

Parameters:

  • servicename - name of the service as it appears in the first field of /etc/inetd.conf
  • type - type of service. Valid values: dgram stream sunrpc_udp sunrpc_tcp
  • protocol - protocol of service. Valid values: tcp udp tcp6 udp6
  • wait - blocking, nonblocking, or SRC. Valid values: wait nowait SRC
  • user - user to the run the service under. Default: root
  • program - program to run (typically specified by full path)
  • args - program, with arguments

tcpservice

Manage the services started by /etc/rc.tcpip. Example:

aix_tcpservice 'xntpd' do
  action :enabled
end

Parameters:

  • immediate (optional) - whether to start/stop the TCP/IP service immediately by contacting the SRC. It's much better to declaratively specify this separately using the built-in service resource in Chef.

toolboxpackage

To install packages from the IBM AIX Toolbox for Linux off the IBM FTP
site. Example:

aix_toolboxpackage "a2ps" do
  action :install
end

Parameters:

  • base_url (optional) - the base URL to use to retrieve the package. If you are behind a firewall or your AIX system doesn't have access to the Internet, you can override this to an HTTP/FTP server where you have stored the RPMs.

License and Authors

Copyright:: 2014 Chef Software, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

0.0.2

  • Remove deprecated #each from providers; replace with #each_line
  • Upgrade some packages, particularly bash to remediate shellshock
  • Fix missing include in provider

0.0.1

Initial release

Foodcritic Metric
            

0.0.2 failed this metric

FC031: Cookbook without metadata file: /tmp/cook/d255483d9c112e616eeef6ea/aix/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/d255483d9c112e616eeef6ea/aix/metadata.rb:1