[Puppet Users] Re: trying to understand puppet internal

2009-06-17 Thread David Schmitt
James Turnbull wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Aurelien Degremont wrote: > | Jean-Baptiste Quenot a écrit : > |> 2009/6/12 Aurelien Degremont : > |>> Arnau Bria a écrit : > |>>> Hi all, > |>>> > |>>> More test > |>>> > |>> If your doing benchmarking with puppet >

[Puppet Users] Re: Schedule puppet runs

2009-06-17 Thread David Schmitt
drmikecrowe wrote: > I created this little batch file I put in cron.hourly (You can adapt > to put in crontab to run on the hours you want it to): > > ## > #!/bin/bash > SERVER="--server URL.PUPPETMASTER.COM" > FIRST=`echo $RANDOM%1800 | bc`

[Puppet Users] Re: Server Hierarchies and other configuration questions

2009-06-17 Thread David Schmitt
Don wrote: > I apologize if this has been asked before but if it has- my google > technique has failed me. If anyone can point me at the right docs I'm > happy to dive right in. > > While I'm not having any problems with Puppet, I am having some > trouble understanding the best practices. > > Sp

[Puppet Users] Re: POLL: Migrating web changes across load-balanced servers

2009-06-17 Thread Marc Fournier
On Mon, 15 Jun 2009 08:41:31 -0700 (PDT) drmikecrowe wrote: > > Hi Tim, > > That's very close to where I am now, except we use mercurial instead > of svn. :) > > However, I'm more searching for non-same hosts (i.e. no SAN). I'm > basically asking the question of puppet managed ( file > { so

[Puppet Users] Re: Server Hierarchies and other configuration questions

2009-06-17 Thread Don
> My own ntp module[1] only knows two kinds of ntp hosts: servers and > clients. The former connect to each other and external sources, while > the latter only connect to the local servers. The distinction is easily > done: those nodes which have set $ntp_servers are those which connect to > these

[Puppet Users] Solaris Packages

2009-06-17 Thread Andy Kocher
Hi, I'm having troubles installing more than one Solaris package. My nodes.pp looks like: start #/etc/puppet/test/manifests/node.pp node basenode { include package_OpenSSH include package_sudo include package_SMCfping } node default inherits basenode{ } -end Only the first include is

[Puppet Users] Gentoo rc-update and syntaxe

2009-06-17 Thread serge.leloua...@free.fr
hi, I use rc-update in a pp file. The same syntax typed in ssh terminal doesn't return anything to the standart output. when pupeetd launch this, an syntax error is detected ! my pp : class bbRemove { exec {"rc-update del bb && "/etc/init.d/bb stop && rm -f /etc/ init.d/bb && rm -fR /o

[Puppet Users] how to have "multilines" ?

2009-06-17 Thread serge.leloua...@free.fr
Hi All is in title ;-) I have to run multiples Bash commands. It is just for readability of the pp file. Thank Serge --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send

[Puppet Users] Re: Gentoo rc-update and syntaxe

2009-06-17 Thread RijilV
2009/6/17 serge.leloua...@free.fr > > hi, > > I use rc-update in a pp file. The same syntax typed in ssh terminal > doesn't return anything to the standart output. > when pupeetd launch this, an syntax error is detected ! > > my pp : > > class bbRemove { >exec {"rc-update del bb && "/etc

[Puppet Users] Re: Puppet on SLES

2009-06-17 Thread Jeff Falgout
Justin - On Tue, Jun 16, 2009 at 2:36 PM, wrote: > I currently manage approximately 150 hosts with a handful of ZLM policies, > but I've had one too many policies lost by the management server to keep > using this solution. > > I'm wondering if anyone has any experiences (good or bad) they'd be

[Puppet Users] Re: how to have "multilines" ?

2009-06-17 Thread Evan Hisey
On Wed, Jun 17, 2009 at 8:56 AM, serge.leloua...@free.fr wrote: > > Hi > > All is in title ;-) > > I have to run multiples Bash commands. It is just for readability of > the pp file. > > Thank > Serge What are you trying to do? It sounds like you are trying to work against the way puppet operates.

[Puppet Users] Centralized puppet install?

2009-06-17 Thread alop
Has anyone had experience with a centralized puppet install? The preferred MO at my shop is to have minimal packages installed on a system locally, and most apps are installed on an NFS filer. At first glance it seems easy to simply have the init.d script call puppetd off of the share, but are the

[Puppet Users] Re: Centralized puppet install?

2009-06-17 Thread Joe McDonagh
alop wrote: > Has anyone had experience with a centralized puppet install? > The preferred MO at my shop is to have minimal packages installed on a > system locally, and most apps are installed on an NFS filer. At first > glance it seems easy to simply have the init.d script call puppetd off > of

[Puppet Users] Re: passenger on Mac OS X question

2009-06-17 Thread Allan Marcus
How can I tell if it's using Passenger? --- Thanks, Allan Marcus 505-667-5666 On Jun 16, 2009, at 6:24 PM, Nigel Kersten wrote: > > On Tue, Jun 16, 2009 at 4:39 PM, Allan Marcus wrote: >> >> hello, >> >> I have installed an configered passenger on my OS X server according >> to http://reduct

[Puppet Users] Re: passenger on Mac OS X question

2009-06-17 Thread Nigel Kersten
On Wed, Jun 17, 2009 at 5:21 PM, Allan Marcus wrote: > > How can I tell if it's using Passenger? So how are you starting it now? If you've followed those instructions on the wiki, you should only be starting apache and nothing else, and the virtual host you've defined will be using passenger/R

[Puppet Users] Re: passenger on Mac OS X question

2009-06-17 Thread Allan Marcus
Yes, correct. But how can I tell if puppet is using Passenger? I see the following in my /var/log/apache2/error_log file: [Tue Jun 16 17:32:01 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/ 2.2.11 OpenSSL/0.9.7l PHP/5.2.8 Phusion_Passenger/2.2.2 configured -- resuming normal operations I see t

[Puppet Users] Re: passenger on Mac OS X question

2009-06-17 Thread Nigel Kersten
On Wed, Jun 17, 2009 at 5:46 PM, Allan Marcus wrote: > > Yes, correct. But how can I tell if puppet is using Passenger? > > I see the following in my /var/log/apache2/error_log file: > > [Tue Jun 16 17:32:01 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/ > 2.2.11 OpenSSL/0.9.7l PHP/5.2.8 Phusion_Pa

[Puppet Users] Testing if a resource is already defined

2009-06-17 Thread Avi Miller
Hi gang, Is it possible to test if a particular resource has already been defined? I'd like to do something like this: if !Host["$fqdn"] { host {"$fqdn": ip => "$ipaddress_eth0" } } Essentially, test to see if there is no Host resource defined for the current server and if not, add a host

[Puppet Users] Getting started with puppet

2009-06-17 Thread Matt Delves
Hey Folks, I'm just starting to look into Puppet though am finding it a bit confusing as to how to get it setup on the network I administer. At the moment it is a combination of RHEL 4 and SLES 10 boxes with windows and novell also. I know that windows / novell is beside the point though am wonde

[Puppet Users] Re: Getting started with puppet

2009-06-17 Thread Dhruv Soi
I wrote a short howto for our internal use. Probably, could be useful to you as well. This is for CentOS and should work for RHEL as well: http://in.torridnetworks.com/wiki/index.php/Install_Puppet_On_CentOS Many Thanks, Dhruv -Original Message- From: puppet-users@googlegroups.com [mail

[Puppet Users] Re: Getting started with puppet

2009-06-17 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt Delves wrote: | Hey Folks, | I'm just starting to look into Puppet though am finding it a bit | confusing as to how to get it setup on the network I administer. At the | moment it is a combination of RHEL 4 and SLES 10 boxes with windows and | no

[Puppet Users] Re: Gentoo rc-update and syntaxe

2009-06-17 Thread Serge LE LOUARNE
hi, yes : Jun 18 08:19:49 server puppetd[13617]: Starting catalog run Jun 18 08:19:49 server puppetd[13617]: (//Node[default]/bbremove/Exec[rc-update remove bb]/returns) usage: rc-update -a|add script

[Puppet Users] Re: how to have "multilines" ?

2009-06-17 Thread Serge LE LOUARNE
Hi, I install blender ;-) My pp file (in actual state, I have no backup of previous versions) : class blender { file { "/tmp/blender-2.49-linux-glibc236-py25-i386.tar.bz2": owner => root, group => root, mode => 644, source => 'puppet:// formation01.g