我遵循以下三个方法
http://terokarvinen.com/2012/puppetmaster-on-ubuntu-12-04
https://help.ubuntu.com/12.04/serverguide/puppet.html#puppet-installation
http://docs.puppetlabs.com/guides/install_puppet/post_install.html
我到了能够启动木偶节点的地步,在使用puppet cert --list的master看到证书并使用cert --sign接受
但是,通过这一点,节点不会从主站获取更改。 主站具有以下节点:
include apache2
以下清单:
package { 'apache2': ensure => installed } service { 'apache2': ensure => true, enable => true, require => Package['apache2'] }
我已经多次重启puppet和puppetmaster ,并且让服务器整个周末都坐着,而且节点还没有安装apache2 。
编辑:
使用puppet master --verbose -no-daemonize我收到以下内容:
root@puppetmaster:/etc/puppet/manifests# puppet master --verbose -no-daemonize Error: Could not intialize global default settings: Error parsing arguments Wrapped exception: invalid argument syntax: '--'
使用`puppet agent –test –noop'我收到以下内容:
root@puppet:/var/log/puppet# puppet agent --test --noop Notice: Skipping run of Puppet configuration client; administratively disabled (Reason: 'Disabled by default on new installations'); Use 'puppet agent --enable' to re-enable.
我看到你没有日志。 我会停止主服务器上的puppetmaster然后运行它:
puppet master --verbose --no-daemonize
在节点服务器上,停止puppet服务并使用noop运行它:
puppet agent --test --noop
这应该给你一些输出,希望有助于排除故障。
我的猜测:证书问题。 它通常是与puppet 。
您添加到问题底部的puppet agent输出结果:
注意:跳过Puppetconfiguration客户端的运行; (原因:'新安装时默认closures');
使用'puppet agent –enable'重新启用。
没有比这更清楚的了。