我在kick模式(puppetrun)中使用 Puppet:
客户的 puppet.conf:
[main]
modulepath = /etc/puppet/modules:/usr/share/puppet/modules
logdir = /var/log/puppet
rundir = /var/run/puppet
# The default value is '$confdir/ssl'.
ssldir = $vardir/ssl
server = puppetmaster.example.com
listen = true
# only kick, no polling
client = false
certname = client.example.com
pluginsync = true
[agent]
# The default value is '$confdir/classes.txt'.
classfile = $vardir/classes.txt
ignorecache = true
report = true
environment = dev
client = false
# The default value is '/localconfig'.
localconfig = $vardir/localconfig
* puppet kick --host *效果很好,但另外每 30 (runinterval) 分钟,puppet 客户端执行一次由自身触发的部署(轮询)。
我以为client=false会停止轮询,但似乎没有。
有人知道解决这个问题的方法吗?
来自慕尼黑的感谢,安迪