分类: LINUX
2014-11-28 15:06:41
--------- 用root运行不了 mco 命令 ------------
[root@cndaltsi01vl mcollective]# mco puppet status
Failed to generate application list: RuntimeError: Cannot find config file '/etc/puppetlabs/mcollective/client.cfg'
Solution:
<1> su - peadmin -c 'mco puppet runonce -I server1 -I server2'
<2> copy '.mcollective' to current user's home dir.
[root@localhost ~]# cp /var/lib/peadmin/.mcollective ~/