Hi,
Thanks for a great program!
I have one request though, and also wonder if there is some other way to do this...
when I have an exec task, such as:
exec { "task":
command => "/bin/some/command",
creates => "/some/file/somewhere"
}
It would be really nice if puppet could check for the existence of the file, and report an error if it does not exist after command has executed. Now the "creates" argument is only used to check if the file exists before the command is run, in order to skip the command if it exists. Possible syntax would be:
exec { "task":
command => "/bin/some/command",
mustcreate => "/some/file/somewhere"
}
Or is there some other method to achieve the same?
Regards,
Mikael