gpt4 book ai didi

没有轮询的 puppet 踢?

转载 作者:行者123 更新时间:2023-12-04 06:20:50 26 4
gpt4 key购买 nike

<分区>

我在 kick-mode (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(运行间隔)分钟,puppet 客户端就会执行一次由其自身触发的部署(轮询)。

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

有人知道解决这个问题的方法吗?

来自慕尼黑的感谢,安迪

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com