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.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/591a8468-d192-46b4-be84-90cc22afc5a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to