Oracle Solaris では、Puppet IPS パッケージはデフォルトではインストールされません。Puppet を使用するには、Puppet マスターと、Puppet エージェントを実行するすべてのノードに system/management/puppet パッケージを個別にインストールする必要があります。マスターと各ノードの両方に同じソフトウェアパッケージをインストールします。Oracle Solaris 11.3 でサポートされている Puppet バージョンは 3.6.2 です。
Puppet IPS パッケージがシステムにインストールされているかどうかを判定するには、次のコマンドを入力します。
# pkg list puppet pkg list: no packages matching the following patterns are installed: puppet
Puppet IPS パッケージに関するより詳細な情報を次のように表示できます。
# 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
前の出力は、Puppet パッケージがシステムにインストールされていないことを示しています。
次のように、Puppet IPS パッケージを最初にマスターにインストールしてから、各ノードにインストールします。
# pkg install puppet
Puppet がインストールされていることを確認します。
# 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
前の出力に従って、Puppet が現在システムにインストールされていることを確認できます。