Puppet 代理作为守护进程运行,但是仅在手动运行 Puppet 代理时才应用清单?

Puppet 代理作为守护进程运行,但是仅在手动运行 Puppet 代理时才应用清单?

我已经将 Puppet Agent 守护进程化

# service puppet status
 * agent is running

并可以确认它正在从主服务器检索配置

# cat /var/lib/puppet/state/last_run_summary.yaml | grep last
    last_run: 1385262693
# date --date @1385262693
Sun Nov 24 03:11:33 UTC 2013

但是,几个小时前我对配置所做的更改last_run尚未应用。它们仅在我运行

# puppet agent --test

为什么当 puppet 守护进程时配置没有被应用?

/etc/puppet/puppet.conf以下是我的 Puppet 客户端上的内容

[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdir/templates
prerun_command=/etc/puppet/etckeeper-commit-pre
postrun_command=/etc/puppet/etckeeper-commit-post
pluginsync=true

[master]
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY

[agent]
server = puppetmaster.website.com

相关内容