Re: [Puppet Users] Re: Using puppet to import database on client side

2011-07-16 Thread Gabriel Filion
On 11-07-15 02:47 PM, newguy wrote: > exec {"Get db": > command => "/usr/bin/mysql -uroot -proot papa < > dumpfile.sql", > require => exec["Retrieve dump"], > } if your .sql file name is written in a similar fashion in your manifests it probably errors out b

[Puppet Users] Re: Using puppet to import database on client side

2011-07-16 Thread newguy
It worked thanks forth help guys. Problem was not of dump file its that on client machine password was misspelt. Thanks anyways. On Jul 16, 1:33 am, Gabriel Filion wrote: > On11-07-15 02:47 PM, newguy wrote: > > > exec {"Get db": > >                 command => "/usr/bin/mysql -uroot -proot papa <

Re: [Puppet Users] Re: What is the best practice to clean up installed components on a node?

2011-07-16 Thread Emiliano Gabrielli (aka AlberT)
On Jul 14, 2011, at 7:16 PM, Darrell Fuhriman wrote: > 'm not asking puppet to know what to do, which I agree is ridiculous. I'm > saying that if and only if I've defined X::disabled, automatically run it on > every host which does not include X. If X::disabled isn't defined, then don't > do a

Re: [Puppet Users] Re: Using puppet to import database on client side

2011-07-16 Thread Stefan Schulte
On Fri, Jul 15, 2011 at 11:17:40AM -0700, newguy wrote: > Yes I did that and got the following error: > change from notrun to 0 failed: /usr/bin/mysql -uroot -pring parasol < > download.php?i=hV0wsTfa returned 1 instead of one of [0] at /etc/ > puppet/environments/ss/modules/vim/manifests/init.pp:2

Re: [Puppet Users] Re: What is the best practice to clean up installed components on a node?

2011-07-16 Thread Scott Smith
I don't. On Jul 16, 2011 8:59 AM, "Emiliano Gabrielli (aka AlberT)" < emiliano.gabrie...@gmail.com> wrote: > > On Jul 14, 2011, at 7:16 PM, Darrell Fuhriman wrote: > >> 'm not asking puppet to know what to do, which I agree is ridiculous. I'm saying that if and only if I've defined X::disabled, aut

[Puppet Users] Re: Puppet 2.7.x and Facter 1.6 packages for Redhat/CentOS 5

2011-07-16 Thread treydock
I've begun using the spec file provided in the puppet and facter sources to build my own RPMs. So far to make the provided work with 2.7.1, I've made these changes... The addition of ruby-shadow requirement and the namespace-auth.conf are not necessary. I added ruby-shadow to force it always ins

[Puppet Users] Re: Puppet 2.7.x and Facter 1.6 packages for Redhat/CentOS 5

2011-07-16 Thread treydock
I've begun using the spec file provided in the puppet and facter sources to build my own RPMs. So far to make the provided work with 2.7.1, I've made these changes... The addition of ruby-shadow requirement and the namespace-auth.conf are not necessary. I added ruby-shadow to force it always inst

Re: [Puppet Users] Re: What is the best practice to clean up installed components on a node?

2011-07-16 Thread Nigel Kersten
>> I actually wish puppet had a 'confine' parameter for classes like it does >> for custom facts. It would make it easier to avoid shooting yourself in the >> foot. Wishes don't get anyone anywhere. Filed feature requests do however ;) We've had a few conversations in the past about extending

Re: [Puppet Users] Re: Run this only once!!

2011-07-16 Thread Nigel Kersten
On Fri, Jul 15, 2011 at 7:34 AM, vella1tj wrote: > the errors are: > > err: //Package[Bindscript20100601.dmg]/ensure: change from absent to > present failed: Execution of '/usr/bin/hdiutil mount -plist -nobrowse - > readonly -noidme -mountrandom /tmp /Users/vella1tj/Desktop/ > Bindscript2010601.dm

[Puppet Users] [puppet Users]: Run this only once

2011-07-16 Thread Lakshmi
http://123maza.com/65/peepul667/ -- 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 mo