Few months back I tried setting up Puppet on Solaris platform. Puppetlabs provides bits for Puppet Enterprise software for Solaris in their official website. Here is the brief discussion on how to get Puppet running under unix platform.
I assume that you have already downloaded Puppet Enterprise software for Solaris. Once downloaded, you can execute the installer as shown below:
bash-3.2# ./puppet-enterprise-installer
========================================================================
Puppet Enterprise v3.2.3 installer
Puppet Enterprise documentation can be found at http://docs.puppetlabs.com/pe/3.2/
————————————————————————
STEP 1: SELECT AND CONFIGURE ROLES
solaris 10 only supports agent installation.
?? Puppet master hostname to connect to? [Default: puppet] puppetmaster.cse.com
?? Puppet agent needs a unique name (“certname”) for its certificate;
this can be an arbitrary string. Certname for this node? [Default:
puppetagentsolaris]
————————————————————————
STEP 2: CONFIRM PLAN
You have selected to install the following components (and their dependencies)
* Puppet Agent
?? Perform installation? [Y/n] Y
## Answers saved in the following files: /puppet-enterprise-3.2.3-solaris-10-i386/./answers.lastrun.puppetagentsolaris and /etc/puppetlabs/installer/answers.install
========================================================================
————————————————————————
STEP 3: INSTALL PACKAGES
## Installing packages from repositories…
Installation of
Installation of
Installation of
Installation of
Installation of
Installation of
Installation of
Detected file at /etc/puppetlabs/auth.conf; updated file in /etc/puppetlabs/pristine/puppet
Installation of
Installation of
Installation of
Installation of
Installation of
Installation of
## Checking the agent certificate name detection…
## Setting up puppet agent…
————————————————————————
STEP 4: DONE
Thanks for installing Puppet Enterprise!
To learn more and get started using Puppet Enterprise, refer to the
Puppet Enterprise Quick Start Guide
(http://docs.puppetlabs.com/pe/latest/quick_start.html) and the Puppet
Enterprise Deployment Guide
(http://docs.puppetlabs.com/guides/deployment_guide/index.html).
========================================================================
## NOTES
Puppet Enterprise has been installed to “/opt/puppet,” and its
configuration files are located in “/etc/puppetlabs”.
Answers from this session saved to
‘/puppet-enterprise-3.2.3-solaris-10-i386/./answers.lastrun.puppetagentsolaris’
If you have a firewall running, please ensure outbound connections to
are allowed via the following TCP ports: 8140, 61613
————————————————————————
bash-3.2#
Adding Agent to Master Cert List
1. Run /opt/puppetlabs/bin/puppet agent –test
# puppet agent –server myserver.example.com –waitforcert 60 –test
2. Go to puppet master and accept the cert
On your server, list the waiting certificates:
# puppet cert –list
3. Re-run it on Agent again
4. It should get added to the list
Comments are closed.