Puppet Support on AIX

1,210 views
Skip to first unread message

Vishal Biyani

unread,
Apr 15, 2015, 3:23:25 AM4/15/15
to puppet...@googlegroups.com
I am trying to understand more about Puppet support on AIX. I have found bits and piece of information here and there but nothing which shows me complete picture. The best one I have found so far is : http://projects.puppetlabs.com/projects/1/wiki/PuppetAix although I understand it is a bit dated. Has someone came across  a resource which in detail describes support for AIX? 
Thanks in advance!

Michael Stahnke

unread,
Apr 15, 2015, 2:09:14 PM4/15/15
to puppet...@googlegroups.com
On Wed, Apr 15, 2015 at 12:23 AM, Vishal Biyani <vrbi...@gmail.com> wrote:
I am trying to understand more about Puppet support on AIX. I have found bits and piece of information here and there but nothing which shows me complete picture. The best one I have found so far is : http://projects.puppetlabs.com/projects/1/wiki/PuppetAix although I understand it is a bit dated. Has someone came across  a resource which in detail describes support for AIX? 
Thanks in advance!

Puppet works on AIX. As part of Puppet Enterprise we offer support for AIX 5.3, 6.1, and 7.1  Inside that Puppet Enterprise Agent you have everything you need to make it work, ruby, openssl, hiera, facter, augeas, etc. 

You can get an open source agent working on AIX, but the task of building out the Ruby stack and friends isn't the easiest job.  

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/f2d8d191-2f2a-4ce2-84e7-37dcb5b793d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ryan Anderson

unread,
Apr 15, 2015, 3:01:30 PM4/15/15
to puppet...@googlegroups.com
Getting puppet open source to work on AIX is not documented widely, as it isn't in common use. However, it is possible. The steps boil down to:
  • Install ruby 2.0.0 and its dependencies from http://www.perzl.org/aix/ (it will install to /opt/freeware)
  • mkdir -p /etc/puppet /var/lib/puppet
  • Install the puppet gem at the version you want, which will also install its dependencies. If you leave out the version argument, it will install the latest, which may not be what you want:
    • For example: /opt/freeware/bin/gem install --no-rdoc --no-ri --version 3.7.3 puppet
    • See what is installed now: /opt/freeware/bin/gem list
  • Copy in your default /etc/puppet/puppet.conf
  • For convenience, make sym-links: cd /usr/bin; ln -s /opt/freeware/bin/puppet; ln -s /opt/freeware/bin/facter
  • Start puppet as usual, eg: puppet agent --onetime --no-daemonize -v
  • Create an init script for puppet in /etc/rc.d/init.d/puppet with necessary links to start up on reboot
The beauty of using gems is that they are their own packaging system, and are supported by the puppet package resource type. Plus, you can select the puppet/facter version on AIX that matches the rest of your environment. If needed, you can also host your own gem repository on your network so every system doesn't need to go to rubygems.org to pull them down.
Reply all
Reply to author
Forward
0 new messages