Hi,

I am sorry if I am being silly but what do you mean by running it from
something with no terminal attached? I am sshing into a box and I run the
particular command on that box. The command " sudo apt-get install rubygems"
runs fine but within an exec in the puppet manifest returns a 1.

Can anybody think of something that I can do.

Thanks!

2009/6/16 Joe McDonagh <joseph.e.mcdon...@gmail.com>

>
> Swati wrote:
> > Hi,
> >
> > I am trying to build ruby gems from source by execing sudo apt-get
> > install rubygems. But this command fails and returns 1. When I run a
> > the particular command from the terminal it runs fine. I am sorry, I
> > am newbie to puppet as well as linux type operating systems, any help
> > would be appreciated.
> >
> > Thanks!
> > Swati
> >
> > >
> >
> Run it from something with no terminal attached, like ssh machine "sudo
> apt-get install rubygems".
>
> You can also run puppet on the node like:
>
> sudo puppetd -t
>
> This will only run it once and will give you more of an idea as to why
> it failed.
>
> >
>


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