其目的是一次使用MCollective在多个系统上执行一个命令,例如,使用touch /tmp/helloworld -client在所有集群服务器上创建touch /tmp/helloworld:systems 1、2和3。
根据这份文件的要求,可以使用多层壳代理来实现这一目标.但是,执行:
mco rpc shell start ls -I /system/在以下方面的成果:
Could not parse --arg ls发行:
mco rpc shell --help显示通用帮助菜单,而不是关于应该使用哪些参数的特定菜单。
mco rpc shell命令?mcollective-shell-agent来实现目标,或者这是不正确的?如果是的话,应该安装哪个软件包?发布于 2015-02-13 17:40:10
创建了一个票证并在PuppetLabs上回答了这个问题:
应该发布mco rpc shell start command=ls -I /system/而不是mco rpc shell start ls -I /system/
https://serverfault.com/questions/664754
复制相似问题