Issue #14769 has been reported by Nigel Kersten.

----------------------------------------
Feature #14769: Distinguishing between manual and scheduled runs in reports
https://projects.puppetlabs.com/issues/14769

Author: Nigel Kersten
Status: Needs More Information
Priority: Low
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


This may not be feasible given the move away from daemonized agents towards 
scheduling via cron, but it would be useful in a report to be able to tell the 
difference between a normally scheduled run, and one that was executed by hand.

You could possibly do this now with something as simple as the following 
command in cron:

`FACTER_scheduled_run=true puppet agent --onetime --verbose`

and we'd get a fact at least that said that this was a scheduled run.

It would be useful to have better native support for this sort of functionality 
though.




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to