[Puppet Users] Re: Dangerous Virus

2009-07-06 Thread Swati Tiwari
I am sorry about the previous mail. It was sent by mistake. 2009/7/6 James Turnbull > Swati Tiwari wrote: > > *HUGE VIRUS COMING ! PLEASE READ & FORWARD !* > > > > This is a hoax and a beat-up - please read the actual Snopes site: > > http://www.snopes.com/com

[Puppet Users] Dangerous Virus

2009-07-06 Thread Swati Tiwari
*HUGE VIRUS COMING ! PLEASE READ & FORWARD !* Hi All, I checked with Norton Anti-Virus, and they are gearing up for this virus! I checked Snopes, and it is for real. Get this E-mail message sent around to your contacts ASAP. PLEASE FORWARD THIS WARNING AMONG FRIENDS, FAMILY AND CONTACTS! You sh

[Puppet Users] Re: exec : creates parameter does not create the file

2009-06-27 Thread Swati Tiwari
That's definitely way better than what I was planning on doing, thanks Peter! 2009/6/27 Peter Meier > > Hi > > > exec { "sources": > >command => "sudo gem sources -a http://gems.github.com/ > > > /tmp/githubadded", > >creates => "/tmp/githubadded" > > } > > > > I hope that's the

[Puppet Users] Re: exec : creates parameter does not create the file

2009-06-26 Thread Swati Tiwari
Got it! Thank you! I did this and it worked! exec { "sources": command => "sudo gem sources -a http://gems.github.com/ > /tmp/githubadded", creates => "/tmp/githubadded" } I hope that's the right way to do it... 2009/6/26 Scott Smith

[Puppet Users] exec : creates parameter does not create the file

2009-06-26 Thread Swati Tiwari
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 -

[Puppet Users] Re: Installing applications using puppet

2009-06-25 Thread Swati Tiwari
Hi, I am new to puppet as well, but I could tell you how to do a similar install. exec { "getthesource": command => "wget http://thesourceurl";, cwd => "/the/directory/to/issue/this/command/from" } exec { "untarthesource": command => "the_untar_command", cwd => "the/dir

[Puppet Users] Re: Ordered Installation

2009-06-25 Thread Swati Tiwari
I apologize for going off on a tangent like this and thanks for your patience and advice. 2009/6/25 Mike Renfro > > You've switched from asking about the native puppet package type on > Debian to how to get puppet to how to get download and build Gems from > source. > > What you propose in the l

[Puppet Users] Re: Ordered Installation

2009-06-24 Thread Swati Tiwari
r/bin/gem" } package { "somepackage": provider => gem, require => Exec["symlinkrubygem"] } So for the above package to be installed, gem needs to be on the system, that means there needs to be an order there. So, if I use the "require" metapa

[Puppet Users] Re: Ordered Installation

2009-06-24 Thread Swati Tiwari
s directly while building packages. Could you please give me any ideas or am I shooting on a tangent? Thank you very much! 2009/6/24 Mike Renfro > > Swati Tiwari wrote: > > > I apologize if this turns out to be a very silly (and already asked ) > > question. I want to inst

[Puppet Users] Ordered Installation

2009-06-23 Thread Swati Tiwari
Hello all, I apologize if this turns out to be a very silly (and already asked ) question. I want to install a few packages on my debian system in a particular order. Right now, I am doing the following. Say pack1, pack2 and pack3 are the three packages that I am trying to install. Then my puppet

[Puppet Users] Re: exec "sudo apt-get -t unstable install rubygems" fails!

2009-06-22 Thread Swati Tiwari
: Changing returns debug: //Node[labserver5]/gempackages/Exec[latestrubygems]: 1 change(s) debug: //Node[labserver5]/gempackages/Exec[latestrubygems]: Executing '/usr/bin/sudo /usr/bin/apt-get -t unstable install rubygems' debug: Executing '/usr/bin/sudo /usr/bin/apt-get -t unstable

[Puppet Users] Re: exec "sudo apt-get -t unstable install rubygems" fails!

2009-06-22 Thread Swati Tiwari
I have my default path set, so I am sure that is not a problem and I also have an onlyif in there... I need sudo because right now in an experimental set up I do not have root privileges :(.. I will try to tweak it a bit.. Thanks to you guys anyway! 2009/6/20 Joe McDonagh > > Peter Meier wrote:

[Puppet Users] exec "sudo apt-get -t unstable install rubygems" fails!

2009-06-19 Thread Swati Tiwari
Hi Everyone, 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

[Puppet Users] Is there a way to write to a file using puppet

2009-06-19 Thread Swati Tiwari
Hey Guys, I am sorry if this sounds silly but I am new to puppet. I am trying to append a particular line to the apt.conf file on all the clients that are running puppetd. Is there any way to do this using puppet. Any help would be appreciated! Thank you! -- Regards, Swati --~--~-~--~-

[Puppet Users] Re: Unable to exec 'sudo apt-get build-dep rubygems'

2009-06-18 Thread Swati Tiwari
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 an