是否可以从主木偶,节点发出命令,运行代理并将最新配置应用于它?
就像,我丢失了一个用户的密码,我无法登录,但是服务器上安装了木偶代理,我可以通过运行木偶代理在服务器上应用更改,但因为它没有自动运行而我无法登录手动运行,如何运行它并通过puppet master应用配置? (如果可能的话)
解决方法
根据他们的
Deprecated Command Line Features:
[In Puppet 4.0] The
puppet kick
command is gone,and the agent daemon will no longer
listen for incoming HTTPS connections.If you or your scripts use
puppet kick
,you’ll need to either install
07001 for a more robust and parallel task running system or use
a parallel SSH tool to kick off Puppet runs. If you use Puppet
Enterprise,you can already 07002.You’ll probably want to close port 8139,while you’re at it.
(强调关闭港口8139)