On 12/10/2014 04:37 PM, Spriya wrote:
> Hi,
> 
> I tried to place a command  in exec statement. when the command is
> executed successfully can we stop getting notice message. If the command
> in exec statement fails then only i need to get notice messages. 
> 
> Is there a way we can do that?

Hi,

no, this is just how Puppet is wired - if a resource needs syncing, then
this is treated as a notable occurence. You either drop all output (e.g.
loglevel => debug) or keep it.

Puppet is not a good fit to run recurring commands. Consider using a
cron resource instead.

HTH,
Felix

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/548AE6E7.6060700%40alumni.tu-berlin.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to