Hi all,
I'm trying to use mcollective and the puppetral to list out a cron resource, it seems to have no trouble doing it for root's cronjobs.
$ mco rpc puppetral find type=cron title='pe-mcollective-metadata'
or
$ mco rpc puppetral search type=cron
hostname1
Result: [{"type"=>"Cron",
"title"=>"pe-mcollective-metadata",
"tags"=>["cron", "pe-mcollective-metadata"],
"exported"=>false,
"parameters"=>
{:ensure=>:present,
:command=>
"/opt/puppet/sbin/refresh-mcollective-metadata 2>&1 >>/var/log/pe-mcollective/mcollective-metadata-cron.log",
:minute=>["0", "15", "30", "45"],
:user=>"root",
:target=>"root"}}]
Is it possible to find this information for another user? The cronjobs I'm interested in are in our application ID's crontab and it looks like the only information it's looking at is for root.
Any help is appreciated, thanks!
**UPDATE**
After opening a support case, this appears to be a bug in 3.8 and is fixed in 2015.3.X
https://tickets.puppetlabs.com/browse/MCO-755
↧