[Puppet Users] Re: Expert Idempotency Question: Multi-Mysql Installation File System Creation Question

2009-03-17 Thread sjmudd
mcgona...@gmail.com (TomTom) writes: > I am trying to puppetize a multi-mysql installation. Our mysql > consultant suggested that we use the pre-compiled binary installations > from mysql.com. > So a multi-instance mysql installation would look like > /data01/multi_mysql/mysql_A/ > /data01/mult

[Puppet Users] Re: Alias for package list

2009-03-17 Thread Dave Cheney
Works for me case $operatingsystem { default: {$ssh_packages = ["openssh-server", "openssh- clients"] } } package { $ssh_packages: ensure => installed } service { sshd: name => $operatingsystem ? { d

[Puppet Users] problems with "generate"

2009-03-17 Thread Arnau Bria
Hi all, I moved my clients' daemon to a cron using: http://reductivelabs.com/trac/puppet/wiki/Recipes/cron My first attempt: # /usr/bin/ruby /usr/sbin/puppetd --server=gridinstall.pic.es --test err: Could not retrieve catalog: Failed to execute generator /usr/bin/env: Execution of '/usr/bin/env

[Puppet Users] Re: Installing latest updates until a certain date

2009-03-17 Thread Patrick Debois
Bruce Richardson wrote: > On Tue, Mar 17, 2009 at 09:15:59AM +0100, Patrick Debois wrote: > >> Sorry if this might be slightly off topic here. But it might be you have >> encountered a similar problem. >> > > The only sure way to control what is pushed/pulled to your systems is to > mainta

[Puppet Users] Re: Installing latest updates until a certain date

2009-03-17 Thread Bruce Richardson
On Tue, Mar 17, 2009 at 09:15:59AM +0100, Patrick Debois wrote: > Sorry if this might be slightly off topic here. But it might be you have > encountered a similar problem. The only sure way to control what is pushed/pulled to your systems is to maintain a local package mirror. Then you can make

[Puppet Users] Installing latest updates until a certain date

2009-03-17 Thread Patrick Debois
Hi folks, I'm looking for a way to install a system with all packages/patches until a certain date. This might not be up to puppet to solve this , if underlying yum/package-systems don't have this facility. The reason is that when reinstalling a system, i want to control what it means update u

[Puppet Users] Re: Installing latest updates until a certain date

2009-03-17 Thread Bruce Richardson
On Tue, Mar 17, 2009 at 10:48:23AM +0100, Patrick Debois wrote: > > The only sure way to control what is pushed/pulled to your systems is to > > maintain a local package mirror. Then you can make sure that only > > the packages you want are visible to your hosts. > > > > > So that means, you w

[Puppet Users] Re: London (UK) Puppet Meetup 24th March (UKUUG social)

2009-03-17 Thread Julian Simpson
I won't be out til the small hours, but I will try and stay out past 9. J. 2009/3/16 Gary Law : > 2009/3/16 Julian Simpson >> >> I should be there.  I'll be standing next to Paul. > > > And I'm so double booked that night. Rats. I might be able to get the > for nine... will you still be the

[Puppet Users] Re: Installing latest updates until a certain date

2009-03-17 Thread Patrick Debois
Bruce Richardson wrote: > On Tue, Mar 17, 2009 at 10:48:23AM +0100, Patrick Debois wrote: > >>> The only sure way to control what is pushed/pulled to your systems is to >>> maintain a local package mirror. Then you can make sure that only >>> the packages you want are visible to your hosts. >>>

[Puppet Users] Re: Installing latest updates until a certain date

2009-03-17 Thread Bruce Richardson
On Tue, Mar 17, 2009 at 12:09:07PM +0100, Patrick Debois wrote: > > You didn't way you wanted arbitrary combinations, just combinations up > > to an arbitrary date, which is simpler to manage. You don't even need > > genuine multiple mirrors; you could use dirvish or rdiff-backup to > > create a

[Puppet Users] Re: Experiences with RHN Satellite?

2009-03-17 Thread Marc Fournier
> how do you then download *all* the packages installed on the 400 or so > servers from redhat, to seed your local repo ? https://rhn.redhat.com/rhn/software/downloads/SupportedISOs.do You can download the DVD images of the releases and loopback-mount them somewhere under apache's DocumentRoot

[Puppet Users] Re: problems with "generate"

2009-03-17 Thread Mike Renfro
Arnau Bria wrote: > err: Could not retrieve catalog: Failed to execute generator > /usr/local/sbin/randomnum: Execution of '/usr/local/sbin/randomnum > td006.pic.es 60' returned 1: at > /etc/puppet/manifests/modules/local_conf/manifests/init.pp:72 on node > td006.pic.es > > but if I run it by h

[Puppet Users] Re: problems with "generate"

2009-03-17 Thread Arnau Bria
On Tue, 17 Mar 2009 08:28:00 -0500 Mike Renfro wrote: Hi Mike, > If randomnum is a shell script, perhaps a missing PATH entry in it, or > some other difference between puppet's PATH and root's? It's perl. Original recipe has something like: generate('/usr/bin/env', '/etc/puppet/modules/puppet/

[Puppet Users] Re: London (UK) Puppet Meetup 24th March (UKUUG social)

2009-03-17 Thread Gary Law
2009/3/17 Julian Simpson > > I won't be out til the small hours, but I will try and stay out past 9. > see you there then... Gary -- Gary Law --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" gro

[Puppet Users] Puppet ensure file statement pointing to earlier defined file

2009-03-17 Thread Ivo van der Meer
Hi, I recently started with configuring and building puppet classes and one thing I struggle with creating a symlink of a file I defined at the same class. Below you can see my full class which works fine, but I will now take out some statements to elaborate on my symlinking issue. I was trying

[Puppet Users] watching a file remotely / trigger a command?

2009-03-17 Thread Jewels
Hi, Been racking my brain and I don't think there is a way to do it so I come to the experts. I have a puppet server and a client. Pretty simple - so here is the problem. I have a job that runs on the CLIENT and creates a file. I want puppet to notice when this file changes on the CLIENT and then

[Puppet Users] nodes missing under ssl/ca/signed/

2009-03-17 Thread Arnau Bria
Hi, I've been cleaning some nodes from my server (puppetca --clean) and I wanted to see how many I had under /etc/puppet/ssl/ca/signed/. I had a surprise when I noticed that I had less there than in my pbs, so I looked for the missing ones... One of them is td242, at the beginning I thought the

[Puppet Users] Puppet and Windows

2009-03-17 Thread Tom Brown
I see this is in the FAQ's but i wonder if the answer is still the same - Is it still true that puppet will not work on a windows machine? If this is true has there been any talk of this work happening at all? thanks --~--~-~--~~~---~--~~ You received this messa

[Puppet Users] Re: Puppet ensure file statement pointing to earlier defined file

2009-03-17 Thread Joshua Anderson
On Mar 17, 2009, at 7:45 AM, Ivo van der Meer wrote: > Is my syntax wrong or isn't it possible yet to use the "ensure" > statement > like this ? > > >"sym_ldap.conf": > path => $operatingsystem ? { >"FreeBSD" => "/usr/local/etc/ldap.conf", >"Debian" => "/etc/ldap.conf"

[Puppet Users] Re: watching a file remotely / trigger a command?

2009-03-17 Thread Joshua Anderson
> Been racking my brain and I don't think there is a way to do it so I > come to the experts. I have a puppet server and a client. Pretty > simple - so here is the problem. I have a job that runs on the CLIENT > and creates a file. I want puppet to notice when this file changes on > the CLIENT and

[Puppet Users] Re: strange log messages...

2009-03-17 Thread Steve Wray
Nigel Kersten wrote: > On Mon, Mar 16, 2009 at 12:44 PM, Steve Wray wrote: >> I'm seeing these errors on many servers: >> >> Could not run Puppet::Client::MasterClient: undefined method `-' for >> # >> >> >> This does not seem to happen when puppetd -vt is run manually. It shows >> every half an

[Puppet Users] file, recurse and managing subdirectories

2009-03-17 Thread Peter Meier
Hi let's assume we have the following source dir: cd /tmp mkdir src src/a/b -p echo "blub1" > src/file1 echo "blub2" > src/a/file2 echo "blub3" > src/a/b/file3 echo "blub4" > src/a/b/file4 and we have the following manifest: file{'/tmp/target': source => '/tmp/src', recurse => true,

[Puppet Users] Re: strange log messages...

2009-03-17 Thread Nigel Kersten
On Tue, Mar 17, 2009 at 12:48 PM, Steve Wray wrote: > > Nigel Kersten wrote: >> On Mon, Mar 16, 2009 at 12:44 PM, Steve Wray wrote: >>> I'm seeing these errors on many servers: >>> >>> Could not run Puppet::Client::MasterClient: undefined method `-' for >>> # >>> >>> >>> This does not seem to ha

[Puppet Users] Re: Puppet and Windows

2009-03-17 Thread Paul Nasrat
2009/3/17 Tom Brown : > > I see this is in the FAQ's but i wonder if the answer is still the same - > > Is it still true that puppet will not work on a windows machine? If this > is true has there been any talk of this work happening at all? I started looking at this work, there is a bunch of stu

[Puppet Users] Re: strange log messages...

2009-03-17 Thread Steve Wray
Nigel Kersten wrote: > On Tue, Mar 17, 2009 at 12:48 PM, Steve Wray wrote: >> Nigel Kersten wrote: >>> On Mon, Mar 16, 2009 at 12:44 PM, Steve Wray wrote: I'm seeing these errors on many servers: Could not run Puppet::Client::MasterClient: undefined method `-' for #

[Puppet Users] Re: strange log messages...

2009-03-17 Thread James Turnbull
Steve Wray wrote: > Nigel Kersten wrote: >> On Tue, Mar 17, 2009 at 12:48 PM, Steve Wray wrote: >>> Nigel Kersten wrote: On Mon, Mar 16, 2009 at 12:44 PM, Steve Wray wrote: > I'm seeing these errors on many servers: > > Could not run Puppet::Client::MasterClient: undefined method

[Puppet Users] Re: Expert Idempotency Question: Multi-Mysql Installation File System Creation Question

2009-03-17 Thread TomTom
Hi Simon, That is very helpful, I am going to go through your puppet definition. Ill post any questions I have to this thread. Thanks a lot everyone! -Tom On Mar 17, 3:00 am, sjm...@pobox.com wrote: > mcgona...@gmail.com (TomTom) writes: > >  I am trying to puppetize a multi-mysql installation.

[Puppet Users] Re: strange log messages...

2009-03-17 Thread Nigel Kersten
On Tue, Mar 17, 2009 at 2:33 PM, James Turnbull wrote: > Steve Wray wrote: >> Nigel Kersten wrote: >>> On Tue, Mar 17, 2009 at 12:48 PM, Steve Wray wrote: Nigel Kersten wrote: > On Mon, Mar 16, 2009 at 12:44 PM, Steve Wray wrote: >> I'm seeing these errors on many servers: >> >