Puppet mcollective mco facts命令空白结果输出
我已经用activemq安装了mcollective,但当我运行以下命令时,它成功运行了,但结果为空,我希望看到报告输出Puppet mcollective mco facts命令空白结果输出,puppet,facter,Puppet,Facter,我已经用activemq安装了mcollective,但当我运行以下命令时,它成功运行了,但结果为空,我希望看到报告输出 [root@vsoslp01 tmp]# mco find vsopspss01 vsopsmgs01 [root@vsoslp01 tmp]# mco facts architecture Report for fact: architecture Finished processing 2 / 2 hosts in 293.91 ms 已安装的插件 [root@
[root@vsoslp01 tmp]# mco find
vsopspss01
vsopsmgs01
[root@vsoslp01 tmp]# mco facts architecture
Report for fact: architecture
Finished processing 2 / 2 hosts in 293.91 ms
已安装的插件
[root@vsoslp01 tmp]# mco plugin doc
Please specify a plugin. Available plugins are:
Agents:
puppet Run Puppet agent, get its status, and enable/disable it
rpcutil General helpful actions that expose stats and internals to SimpleRPC clients
Aggregate:
average Displays the average of a set of numeric values
boolean_summary Aggregate function that will transform true/false values into predefined strings.
sum Determine the total added value of a set of values
summary Displays the summary of a set of results
Data Queries:
agent Meta data about installed MColletive Agents
fstat Retrieve file stat data for a given file
puppet Information about Puppet agent state
resource Information about Puppet managed resources
Discovery Methods:
flatfile Flatfile based discovery for node identities
mc MCollective Broadcast based discovery
stdin STDIN based discovery for node identities
Validator Plugins:
array Validates that a value is included in a list
ipv4address Validates that a value is an ipv4 address
ipv6address Validates that a value is an ipv6 address
length Validates that the length of a string is less or equal to a specified value
puppet_resource Validates the validity of a Puppet resource type and name
puppet_server_address Validates that a string is a valid Puppet Server and Port for the Puppet agent
puppet_tags Validates that a comma seperated list of tags are valid Puppet class names
puppet_variable Validates that a variable name is a valid Puppet name
regex Validates that a string matches a supplied regular expression
shellsafe Validates that a string is shellsafe
typecheck Validates that a value is of a certain type
编辑:
您是否使用
Puppet apply
命令应用了Puppet清单?在这些系统上查询库存是否返回任何信息
$ mco inventory vsopspss01
你填充了事实文件了吗?MCollective读取包含所有事实的yaml文件。如果它是空的,那么它就看不到任何事实
我打开了
/etc/mcollective/facts.yaml
文件,内容是mcollective:1
这是什么?我需要什么吗?明白你说的<代码>/usr/bin/facter--puppet--yaml>/etc/mcollective/facts.yaml
$ mco inventory vsopspss01