Hello guys,

I am facing this problem. I have an exec resource which has a create
parameter. The catalog runs properly but the file is not created, has anyone
faced such a problem?
My manifest is

class example
{
      exec { "sources":
              command => "/usr/bin/sudo /usr/bin/gem sources -a
http://gems.github.com";,
              creates => "/tmp/githubadded"
      }
}

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!

-- 
Regards,
Swati

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to