私は Puppet Enterprise 2015.2 を評価していますが、SLES 11 ボックスにエージェントをインストールするまで問題はありませんでした。
上記の手順に従いました。
1 - クラス pe_repo::platform::sles_11_x86_64 を PE コンソールの PE マスター グループに追加しました
2 - クライアントから curl を実行:
curl -k https://myserver:8140/packages/current/install.bash | sudo bash
コマンドログ:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 14657 100 14657 0 0 117k 0 --:--:-- --:--:-- --:--:-- 4771k
Removing repository 'puppet-enterprise' [done]
Repository 'puppet-enterprise' has been removed.
Adding repository 'puppet-enterprise' [done]
Repository 'puppet-enterprise' successfully added
Enabled: Yes
Autorefresh: No
URI: https://myserver:8140/packages/2015.2.1/sles-11-x86_64?ssl_verify=no
Retrieving repository 'puppet-enterprise' metadata [done]
Building repository 'puppet-enterprise' cache [done]
Specified repositories have been refreshed.
**Unknown option '--from'**
Loading repository data...
Reading installed packages...
**'puppet-agent' not found.**
/tmp/tmp.SVlCxPXa7e: line 91: /opt/puppetlabs/puppet/bin/puppet: No such file or directory
[main]
/tmp/tmp.SVlCxPXa7e: line 100: /opt/puppetlabs/puppet/bin/puppet: No such file or directory
/tmp/tmp.SVlCxPXa7e: line 113: /opt/puppetlabs/puppet/bin/facter: No such file or directory
/tmp/tmp.SVlCxPXa7e: line 113: /opt/puppetlabs/puppet/bin/ruby: No such file or directory
/tmp/tmp.SVlCxPXa7e: line 113: /opt/puppetlabs/puppet/bin/puppet: No such file or directory
/tmp/tmp.SVlCxPXa7e: line 122: /opt/puppetlabs/puppet/bin/puppet: No such file or directory
/tmp/tmp.SVlCxPXa7e: line 123: /opt/puppetlabs/puppet/bin/puppet: No such file or directory
/tmp/tmp.SVlCxPXa7e: line 127: /opt/puppetlabs/puppet/bin/puppet: No such file or directory
/tmp/tmp.SVlCxPXa7e: line 62: /opt/puppetlabs/puppet/bin/puppet: No such file or directory
/tmp/tmp.SVlCxPXa7e: line 62: /opt/puppetlabs/puppet/bin/puppet: No such file or directory
/tmp/tmp.SVlCxPXa7e: line 62: /opt/puppetlabs/puppet/bin/puppet: No such file or directory
/tmp/tmp.SVlCxPXa7e: line 62: /opt/puppetlabs/puppet/bin/puppet: No such file or directory
Error running install script /tmp/tmp.SVlCxPXa7e
スクリプト 217 行目の最初のメモ:
zypper --non-interactive dist-upgrade --from puppet-enterprise
--from
は有効な引数として受け入れられませんでした。おそらく正しいのは「-r」でしたか?
2 番目の注意: スクリプトは puppet-agent をインストールしなかったため、puppet-agent-1.2.5-1.sles11.x86_64.rpm ファイルをクライアントにプッシュしてインストールしようとしました。その後、puppet で zypper を実行しました。エージェント
この回避策でエージェントをインストールできた後、スクリプトを再度実行したところ、libfacter で問題が発生しました。
curl -k https://myserver:8140/packages/current/install.bash | sudo bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 14657 100 14657 0 0 153k 0 --:--:-- --:--:-- --:--:-- 13.9M
Removing repository 'puppet-enterprise' [done]
Repository 'puppet-enterprise' has been removed.
Adding repository 'puppet-enterprise' [done]
Repository 'puppet-enterprise' successfully added
Enabled: Yes
Autorefresh: No
URI: https://myserver:8140/packages/2015.2.1/sles-11-x86_64?ssl_verify=no
Retrieving repository 'puppet-enterprise' metadata [done]
Building repository 'puppet-enterprise' cache [done]
Specified repositories have been refreshed.
**Unknown option '--from'**
Loading repository data...
Reading installed packages...
**'puppet-agent' is already installed.**
Resolving package dependencies...
Nothing to do.
**libfacter was not found. Please make sure it was installed to the expected location.
libfacter was not found. Please make sure it was installed to the expected location.
libfacter was not found. Please make sure it was installed to the expected location.
libfacter was not found. Please make sure it was installed to the expected location.**
Error running install script /tmp/tmp.GDlmNNh07V
編集 1 : SLES 11 SP1 でのみ発生するようです。SLES 11 SP3 でテストしましたが、動作しています。