Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

mcollective puppetral cron resource

$
0
0
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!

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>