2012-08-01 76 views
3

我在 - 模式(puppetrun)采用木偶:傀儡踢没有投票?

客户的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 

* 木偶踢--host *的伟大工程,但另外每30(运行间隔)分钟,puppet客户端执行自己触发的部署(轮询)。

我以为client = false停止轮询,但它似乎没有。

有没有人知道解决这个问题的方法?从慕尼黑

感谢, 安迪

+0

可能需要在serverfault上。 – 2012-08-01 17:03:50

回答

2

看来client = false指令在puppet.conf不存在,根据 http://docs.puppetlabs.com/references/stable/configuration.html(虽然 页面顶部指定它应该是可用)。

然而,有可以在启动代理时指定--no-client选项(使用puppet help agent检查):

--no-client: 
    Do not create a config client. This will cause the daemon to run 
    without ever checking for its configuration automatically, and only 
    makes sense when puppet agent is being run with listen = true in puppet.conf 
    or was started with the `--listen` option. 

添加这些最好的地方是在/etc/sysconfig/puppet基于GNU/Linux发行版RPM,并/etc/default/puppet为基于deb的。 对于其他人,您必须检查启动脚本。