[Puppet Users] Re: Puppet in a bash script

2011-11-14 Thread Rune Stensø
I'm not sure where you execute this, but this sound like a problem with your path. For initialization script and such, where you're unsure of the path, I suggest using the complete path for the command. For example /usr/bin/puppet and /sbin/shutdown. RuneSt. On 11 Nov, 20:40, Harish Agarwal wrot

[Puppet Users] Re: How to randomize a template

2011-01-05 Thread Rune Stensø
For something that's a bit more generic, you can also just use $RANDOM with sleep. $RANDOM returns between 0 and 32k as a value, and you can use a divider to reduce it. For example, I use 'sleep $(($RANDOM/10)) && do_heavy_stuff' to randomize the start of a heavy job out across just under a hour.

[Puppet Users] Re: master/slave

2009-11-13 Thread Rune Stensø
to one of them and have it pushed to both networks. > > On Fri Nov 13  2:01 , Rune Stensø  sent: > > > > >Could you tell us a bit more about what it is you are trying to do? > > >Puppet contains several components, so replication can mean many > >things. Are you for

[Puppet Users] Re: master/slave

2009-11-13 Thread Rune Stensø
Could you tell us a bit more about what it is you are trying to do? Puppet contains several components, so replication can mean many things. Are you for example just looking to synchronize modules across several puppetmasters, a revision control tool might be what you want. If you're looking to a

[Puppet Users] Re: Obtaining puppet and facter for RHEL5/Centos5

2009-06-12 Thread Rune Stensø
I use the RPM's from plain EPEL for both RHEL 4 and 5, on both i386 and x86_64, and so far they've worked great. If you are concerned about the packages, I would recommend setting up a little test environment with a puppetmaster and a few clients, and just test it out. BR. Rune Stensø

[Puppet Users] Re: Puppet and yum repositories

2009-04-29 Thread Rune Stensø
far. In the same class that enables this, you should also remember to disable your kewrepos.repo, or the result of a update could be rather "interesting". :-) I hope this helps! BR. Rune Stensø On 29 Apr, 17:14, "t.kend...@kew.org" wrote: > I'm running puppet 0.24

[Puppet Users] Re: port 8140 issue in ubuntu

2009-03-04 Thread Rune Stensø
As you've already found out, this seems to be a problems with the client creating a TCP-connection to the server. - Check that there are anything listing on the server on port 8140 ("netstat -tpln | egrep 8140") - Try to connect to the server from the client with telnet ("telnet vm-devserver-18

[Puppet Users] Re: Include classes based on hostname

2008-11-26 Thread Rune Stensø
What you are looking for is probably external nodes classification; http://reductivelabs.com/trac/puppet/wiki/ExternalNodes BR. Rune Stensø On 26 Nov, 10:48, Pejay <[EMAIL PROTECTED]> wrote: > Hi, > > In our current puppet environment I am trying to avoid having to > define a