[Puppet Users] Re: [Puppet-dev] puppet / RHEL4 x86_64bit

2008-11-04 Thread Ohad Levy
Hi, Moving this questions to puppet-users rather than puppet-dev. check dag repo, it contains the ruby-shadow which is needed for RHE4 > > rpm -qi ruby-shadow > Name: ruby-shadow Relocations: (not relocatable) > Version : 1.4.1 Vendor: Dag

[Puppet Users] Re: Autometed install

2008-11-04 Thread Ohad Levy
Yeah, a simple script which enable autosign for the installed host for example in your kickstart/jumpstart whatever you could do wget http://puppet/install this should contact a simple cgi script which adds the entry of that host to /etc/puppet/autosign.conf than the client runs puppet, which sign

[Puppet Users] Re: Autometed install

2008-11-04 Thread RijilV
2008/11/4 AndrewHolt <[EMAIL PROTECTED]>: > > Hi, > > If I install the facter & puppet client software via an automated > process (kickstart, jumpstart, imaging) how can I distribute keys so I > don't have to do the certificate signing manually ? > You can just turn on autosigning on the puppetma

[Puppet Users] Re: Autometed install

2008-11-04 Thread Dan Bode
I had a similiar post a month ago, except I wanted to disable the CA stuff. For my puppet kickstart integration, I did the following: 1. Picked a static ip address and hostname that will be used for all installations. 2. Generate all of the keys for this hostname ahead of time. 3. in the kickstar

[Puppet Users] [PATCH] Edited file/ensure.rb docs for clarity

2008-11-04 Thread Tim Harper
--- lib/puppet/type/file/ensure.rb | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/puppet/type/file/ensure.rb b/lib/puppet/type/file/ensure.rb index a9ddc2d..02f5ee1 100755 --- a/lib/puppet/type/file/ensure.rb +++ b/lib/puppet/type/file/ensure.rb @@ -2,11 +2,

[Puppet Users] Re: way to create a parent directory if it doesn't exist?

2008-11-04 Thread Tim Harper
On Nov 4, 2008, at 1:55 PM, Peter Meier wrote: > > Hi > >> Is there any way to create a parent directory for a file if it >> doesn't >> exist? >> >> Trying this: >> >> file { "/etc/crontabs/$title.crontab": >> source => "puppet:///crontabs/$title.crontab", >> ensure => present, >> owner

[Puppet Users] Re: Anyone attending LISA 08 next week...?

2008-11-04 Thread Christopher DeMarco
On Nov 3, 6:48 am, Juri Rischel Jensen <[EMAIL PROTECTED]> wrote: > Luke and I are attending LISA08 in San Diego next week. Are there any   > other Puppeteers who are attending? Or living in the area and   > interested in a meet-up with me and Luke...? Definitely interested. I'll be there only

[Puppet Users] Autometed install

2008-11-04 Thread AndrewHolt
Hi, If I install the facter & puppet client software via an automated process (kickstart, jumpstart, imaging) how can I distribute keys so I don't have to do the certificate signing manually ? Thanks, Andrew --~--~-~--~~~---~--~~ You received this message because

[Puppet Users] Re: How to duplicate the 'parameter absent' behavior of user

2008-11-04 Thread Tim Harper
On Nov 4, 2008, at 1:54 PM, Aj wrote: > > As my reply soriginally tated, undef is part of the override syntax > and as such is only valid in an inherited, overridden resource. I.e.; > not a bug. > > Perhaps a feature request, although I personally believe that empty > string assignment is suffic

[Puppet Users] Re: way to create a parent directory if it doesn't exist?

2008-11-04 Thread Peter Meier
Hi > Is there any way to create a parent directory for a file if it doesn't > exist? > > Trying this: > > file { "/etc/crontabs/$title.crontab": >source => "puppet:///crontabs/$title.crontab", >ensure => present, >owner => $user, >recurse => true > } > > but it's failing beca

[Puppet Users] Re: How to duplicate the 'parameter absent' behavior of user

2008-11-04 Thread Aj
As my reply soriginally tated, undef is part of the override syntax and as such is only valid in an inherited, overridden resource. I.e.; not a bug. Perhaps a feature request, although I personally believe that empty string assignment is sufficient. On 5/11/2008 at 8:44 AM, Tim Harper <[EM

[Puppet Users] way to create a parent directory if it doesn't exist?

2008-11-04 Thread Tim Harper
Is there any way to create a parent directory for a file if it doesn't exist? Trying this: file { "/etc/crontabs/$title.crontab": source => "puppet:///crontabs/$title.crontab", ensure => present, owner => $user, recurse => true } but it's failing because /etc/crontabs doesn't exis

[Puppet Users] Re: Reference array values

2008-11-04 Thread Aj
It's not a bug - $name is only set by defines. On 5/11/2008, at 4:23 AM, Marcin Owsiany <[EMAIL PROTECTED]> wrote: > > On Tue, Nov 04, 2008 at 04:01:06PM +0100, Thomas Bellman wrote: >> >> Marcin Owsiany wrote: >> >>> On Tue, Nov 04, 2008 at 06:03:24AM -0800, Jeff wrote: How do I reference

[Puppet Users] Re: How to duplicate the 'parameter absent' behavior of user

2008-11-04 Thread Tim Harper
>> You want uid => undef >> >> --Paul > Thanks Paul - this is the lead I needed to get to at least a work around. Given: === EXHIBIT A === define user_test() { user { $title: ensure => present, uid=> undef } } node "server" { user_test { 'boogy': } } === EXHI

[Puppet Users] Re: Anyone attending LISA 08 next week...?

2008-11-04 Thread Juri Rischel Jensen
On Nov 3, 2008, at 19:43 , Chris McEniry wrote: > Not sure if that's the plan, but if nothing else I was planning on > penciling in > a PUG (Puppet Users Group) BOF on one night unless we make some > other plans - > though probably wouldn't hurt to do both a socializing event (read: > dinne

[Puppet Users] Re: installing software with yum

2008-11-04 Thread RijilV
2008/11/4 Arnau Bria <[EMAIL PROTECTED]>: > exec { "/usr/bin/yum -y update": > creates => "/tmp/update", > } > > } > > > If yes, where to use it? at the begginig? cause I've at the end, and in > combination with "creates" shoulnd't matter, is it? > Cause no

[Puppet Users] installing software with yum

2008-11-04 Thread Arnau Bria
Hi all, I'm starting my puppet tests... I've done some basci conf (auto-fs, fstab...) but now, I'm stopped in a yum problem. First, how do you manage yum updates?¿ exec? I've seen some apt-example ( http://reductivelabs.com/trac/puppet/wiki/Recipes/Apt_Repositories) and there they use exec, but as

[Puppet Users] Re: Reference array values

2008-11-04 Thread Marcin Owsiany
On Tue, Nov 04, 2008 at 04:01:06PM +0100, Thomas Bellman wrote: > > Marcin Owsiany wrote: > > > On Tue, Nov 04, 2008 at 06:03:24AM -0800, Jeff wrote: > >> How do I reference the values of the array in this block: > >> > >> notify { ["bin", "etc", "lib", "man", "src", "tmp", "var"] : > >> messa

[Puppet Users] Re: Reference array values

2008-11-04 Thread Thomas Bellman
Marcin Owsiany wrote: > On Tue, Nov 04, 2008 at 06:03:24AM -0800, Jeff wrote: >> How do I reference the values of the array in this block: >> >> notify { ["bin", "etc", "lib", "man", "src", "tmp", "var"] : >> message => "jeff: $name" >> } >> >> i.e., what do I use in place of "$name"? > > As f

[Puppet Users] Re: Reference array values

2008-11-04 Thread Marcin Owsiany
On Tue, Nov 04, 2008 at 06:03:24AM -0800, Jeff wrote: > > How do I reference the values of the array in this block: > > notify { ["bin", "etc", "lib", "man", "src", "tmp", "var"] : > message => "jeff: $name" > } > > i.e., what do I use in place of "$name"? As far as I know, foo { [a, b, c]:

[Puppet Users] Reference array values

2008-11-04 Thread Jeff
How do I reference the values of the array in this block: notify { ["bin", "etc", "lib", "man", "src", "tmp", "var"] : message => "jeff: $name" } i.e., what do I use in place of "$name"? TIA, Jeff --~--~-~--~~~---~--~~ You received this message because you ar

[Puppet Users] Test

2008-11-04 Thread AndrewHolt
Hi, I'm not seeing the messages that I post to these group. Please delete this.\ Regards, Andrew --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us