我正在和puppet mcollective使用。 设置成功。 但是,当我申请清单时,清单没有被执行。 我的体现如下:
node default{
}
node 'Node-009.wiley.com'{
file {“/tmp/helloworld.txt”:ensure => file,owner =>“root”,group =>“root”,mode => 0644,content =>“Hello,World”,}
$# mco puppet runonce * [ ============================================================> ] 4 / 4 Finished processing 4 / 4 hosts in 237.47 ms
mco ping也工作正常
# mco ping Node-003.wiley.com time=109.87 ms Node-002.wiley.com time=112.70 ms Node-010.wiley.com time=115.81 ms Node-009.wiley.com time=118.32 ms ---- ping statistics ---- 4 replies max: 118.32 min: 109.87 avg: 114.18
请提示我所缺less的线索,因为清单没有得到应用。
也许这会帮助你。
运行这个命令:
mco puppet runonce -S Node-009.wiley.com