Reputation: 914
On my puppet client I have the same message twice and I want to only have once. Example :
Info: /Stage[main]/box::Backuppc/Notify[todo]/message: todo...
Info: /Stage[main]/box::Backuppc/Notify[todo]/message: defined 'message' as 'todo...'
How can I remove one of them please ?
Upvotes: 3
Views: 516
Reputation: 8223
For current versions of Puppet, the output of
notify { "w00t": message => "foo" }
looks like
Notice: foo
Notice: /Stage[main]/Main/Notify[w00t]/message: defined 'message' as 'foo'
This is only slightly less verbose. There is not really a way to loose/suppress the second message. It has been discussed briefly, albeit with no real conclusion.
Personally, I disbelieve that the message can be hidden easily (i.e., without patching Puppet rather severely).
Upvotes: 1