Go to main content

Using Puppet to Perform Configuration Management in Oracle® Solaris 11.3

Exit Print View

Updated: September 2018
 
 

Installing Puppet

In Oracle Solaris, the Puppet IPS package is not installed by default. To use Puppet, you must individually install the system/management/puppet package on the Puppet master and all of the nodes that will run the Puppet agent. You install the same software package on both the master and each of the nodes. The Puppet version that is supported in Oracle Solaris 11.3 is 3.6.2.

To determine whether the Puppet IPS package is installed on a system, type the following command:

# pkg list puppet
pkg list: no packages matching the following patterns are installed:
puppet 

You can display more detailed information about the Puppet IPS package as follows:

# pkg info -r puppet
Name: system/management/puppet
       Summary: Puppet - configuration management toolkit
   Description: Puppet is a flexible, customizable framework designed to help
                system administrators automate the many repetitive tasks they
                regularly perform. As a declarative, model-based approach to IT
                automation, it lets you define the desired state - or the "what"
                - of your infrastructure using the Puppet configuration
                language. Once these configurations are deployed, Puppet
                automatically installs the necessary packages and starts the
                related services, and then regularly enforces the desired state.
      Category: System/Administration and Configuration
         State: Not installed
     Publisher: solaris
       Version: 3.6.2
 Build Release: 5.11
        Branch: 0.175.3.8.0.5.0
Packaging Date: Mon May 09 22:30:56 2016
          Size: 427.92 kB
          FMRI: pkg://solaris/system/management/puppet@3.6.2,5.11-0.175.3.8.0.5.0:20160509T223056Z

The previous output indicates that the Puppet package is not installed on the system.

Install the Puppet IPS package on the master first, then install the package on each of the nodes as follows:

# pkg install puppet

Verify that Puppet is installed:

# pkg info puppet
Name: system/management/puppet
       Summary: Puppet - configuration management toolkit
   Description: Puppet is a flexible, customizable framework designed to help
                system administrators automate the many repetitive tasks they
                regularly perform. As a declarative, model-based approach to IT
                automation, it lets you define the desired state - or the "what"
                - of your infrastructure using the Puppet configuration
                language. Once these configurations are deployed, Puppet
                automatically installs the necessary packages and starts the
                related services, and then regularly enforces the desired state.
      Category: System/Administration and Configuration
         State: Installed
     Publisher: solaris
       Version: 3.6.2
 Build Release: 5.11
        Branch: 0.175.3.0.0.30.0
Packaging Date: Fri Aug 21 17:26:04 2015
          Size: 426.20 kB
          FMRI: pkg://solaris/system/management/puppet@3.6.2,5.11-0.175.3.0.0.30.0:20150821T172604Z

Per the previous output, you can see that Puppet is now installed on the system.