Hi,

is there a way to skip or ignore those change-events that log a pre-defined 
message?
Example:
I want to change some file permissions but the files must not exist.
When the file exists, check the permissions and change it when necessary. 
If it doesn't exist simply skip it, neither log or show an error nor log a 
message like "mode '' changed to 0644".

I played a bit with the change_to_s, should_to_s, is_to_s methods but it 
just prints an empty line when I just return "nil" or when I leave the 
method empty.
Is there any way to do that?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-dev/-/3LjzI_MfuwgJ.
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-dev?hl=en.

Reply via email to