Issue #8612 has been updated by Nick Fagerlund. Status changed from Needs Decision to In Topic Branch Pending Merge
I don't think it's misleading enough to worry about; a few seconds' thought is enough to realize that we don't have any way to introspect where a particular file originally came from. I'm just going to add a sentence clarifying how the tar example works and call it good. ---------------------------------------- Bug #8612: exec "creates" param in doc example wrong https://projects.puppetlabs.com/issues/8612 Author: Jeff Blaine Status: In Topic Branch Pending Merge 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.
