linux – Puppet节点不会从master中提取更改

我遵循了以下三个操作方法

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节点的程度,并且在master上使用puppet cert –list查看证书并使用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

这应该会给你一些输出,希望有助于排除故障.

我的猜测:证书问题.通常是傀儡.

相关文章

insmod和modprobe加-f参数导致Invalid module format错误 这...
将ArchLinux安装到U盘 几个月前入门Arch的时候上网搜了不少安...
1、安装Apache。 1)执行如下命令,安装Apache服务及其扩展包...
一、先说一下用ansible批量采集机器信息的实现办法: 1、先把...
安装配置 1. 安装vsftpd 检查是否安装了vsftpd # rpm -qa | ...
如何抑制stable_secret读取关键的“net.ipv6.conf.all.stabl...