Issue #8612 has been updated by Romain Chossart. Status changed from Closed to Re-opened Target version deleted (2.7.4)
I dare re-opening this ticket because even with the new explanation, as a new puppet user, I understood that the file would be created by puppet. I agree "A file that this command creates." explains the way it works but since I did not understand it correctly and I was not the only one, I thought that maybe a note saying "this file is _not_ created by puppet" would clarify and would not make the documentation less concise. ---------------------------------------- Bug #8612: exec "creates" param in doc example wrong https://projects.puppetlabs.com/issues/8612 Author: Jeff Blaine Status: Re-opened Priority: Normal Assignee: Nick Fagerlund Category: documentation Target version: Affected Puppet version: Keywords: Branch: The 'creates' param in the code seems wrong, but I'm a newb, so... http://docs.puppetlabs.com/references/stable/type.html#exec ... ***creates*** A file that this command creates. If this parameter is provided, then the command will only be run if the specified file does not exist: <pre> exec { "tar xf /my/tar/file.tar": cwd => "/var/tmp", creates => "/var/tmp/myfile", path => ["/usr/bin", "/usr/sbin"] } </pre> -- 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.
