在/etc/puppet/puppet.conf设置runinterval=0会导致连续的拉,而不是拉。 我试图安排木偶,以便听到木偶puppetrun电话,但是不要拉扯木偶。
使用--no-client选项运行puppetd ,并等待主服务器发起更新。
从man puppetd :
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 used in conjunction with --listen.
使用--onetime选项运行puppetd ,不要从init.d或cron启动它。