Hi
> I am trying to install the latest unstable binary of rubygems using the
> following exec
>
> exec { "latestrubygems":
> command => "sudo apt-get -t unstable install rubygems"
> }
>
> I have the apt.conf and the sources.list file updated correctly for this
> command to work. This command works well on the command line but not through
> puppet. I am not sure where I am going wrong.. The output is
>
> err: //Node[labserver4]/gempackages/Exec[latestrubygems]/returns: change
> from notrun to 0 failed: sudo apt-get -t unstable install rubygems returned
> 1 instead of 0 at /etc/puppet/manifests/classes/gempackages.pp:87
>
> Please guide me if I am going wrong somewhere.. Thanks a lot!
sudo might be the problem, as well the environment. why do you need sudo
at all?
cheers pete
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---