Puppet on OpenBSD
Installation
ruby-puppet and ruby-facter are part of the OpenBSD ports tree since OpenBSD 4.1, and can be installed using the standard package tools (see Installing new packages in the OpenBSD FAQ for details).
OpenBSD 4.2 shipped with Puppet 0.22.4 and Facter 1.3.7; for -current version numbers, see the Makefiles for ruby-puppet and ruby-facter respectively.
Known Issues
OpenBSD’s usermod utility treates the -G option for managing group membership differently from most other systems; because of this, only the membership => minimum option of the user type will work; membership => inclusive fails to correctly remove the user from groups not explicitly listed.
The package doesn’t automatically configure puppetd or puppetmaster to be started on boot. On par with the rc system documentation, here is a snippet to add to /etc/rc.local:
if [ -x /usr/local/bin/puppetd ]; then
echo -n ' puppetd'; /usr/local/bin/puppetd
fi
This will start the puppet client automatically on boot. Puppetmaster can be deployed similarly.