I’ve been trying to get a Puppet Agent installed on my OmniOS server for a couple weeks now. There is plenty of information online about how to install the agent on Solaris 11, but none seem to work.
I was eventually able to find information that allows installs on Solaris 10 and 11.
- There is no native Solaris Packages for Solaris so you will need to find a package that is prebuilt. We found one ar OpenCSW. We need to install OpenCSW repository first.
pkgadd -d http://get.opencsw.org/now
- Use the “pkgutil” utility to install Puppet and its dependencies. For me the location of the “pkgutil” was not in my path so I needed to use the full path to the binary. We can add /opt/csw/bin to the path later.
/opt/csw/bin pkgutil –install puppet3
- Once puppet is installed you can join the agent as you would normally. Again, the location of puppet is not in the path, so we need to use the full path to the binary.
/opt/csw/bin/puppet agent -td –server=<server>
- Once everything is setup and the certificates signed, you will see the agent appear in your Foreman Installation. Its interesting to see that the OS is defined correctly, as I expected it to show as Solaris or even OpenSolaris. I believe the model is defined as a Super Server as the Motherboard is a SuperMicro branded Xeon D Board.