Issue #8612 has been updated by Josh Cooper.

Status changed from Merged - Pending Release to Closed

Merged in commit 
[d80d8ba2714](https://github.com/puppetlabs/puppet/commit/d80d8ba27145c3c27883e63e2fbe49d19d3d661f)
 released in 3.0.2

----------------------------------------
Bug #8612: exec "creates" param in doc example wrong
https://projects.puppetlabs.com/issues/8612#change-99643

* Author: Jeff Blaine
* Status: Closed
* Priority: Normal
* Assignee: Nick Fagerlund
* Category: documentation
* Target version: 3.0.2
* 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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to