Swati Tiwari wrote:
> The command runs fine but it does not create /tmp/githubadded file. I 
> also have write permission on this directory. Any help would be 
> appreciated. Thanks!
> 

<<
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:
 >>

This means Puppet uses the file specified in your creates directive to 
determine if it needs to run the command again. Neither `sudo' nor `gem' 
create the file `/tmp/githubadded', so it will always execute this Exec 
resource.

-scott

-- 
sc...@ohlol.net

http://github.com/ohlol

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to