Re: [Puppet Users] qualified variables inside of a node definition?

2010-02-03 Thread Ohad Levy
Hi, After reading the thread, to me it sounds like a problem foreman can solve. Cheers, Ohad On 2/2/10, John Lyman wrote: > I'm trying to figure out the best way to achieve the following... > > Inside of each node definition, I have variables for ip address, > default router, dns server, etc.

[Puppet Users] Re: qualified variables inside of a node definition?

2010-02-03 Thread John Lyman
No need to apologize; thanks for the help. I'll look into extlookup. -- 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...@googlegroups.com. To unsubscribe from this group, send email to puppet-users

Re: [Puppet Users] Declarative style and processes

2010-02-03 Thread Oliver Schad
Am Tuesday 02 February 2010 schrieb mir Michael DeHaan: > Oliver Schad wrote: > > Is there a tool outside where I can use puppet descriptions to > > program such jobs? Or is there a tool outside you know, that allows > > me to program network wide jobs without puppet where I could built in > > the

Re: [Puppet Users] Re: Declarative style and processes

2010-02-03 Thread Michael DeHaan
On Wed, Feb 3, 2010 at 11:27 AM, jcbollinger wrote: > > Next thing you know we'll need a rules engine and an artificial > > intelligence. > > > > Yeah, we don't want to go there. But multinode deployment? Yes, we > > want to go there. > > I think that's a great idea in principle, with several p

Re: [Puppet Users] Re: qualified variables inside of a node definition?

2010-02-03 Thread Carl Caum
Oh, I apologize. After re-reading your original post I see you clearly stated that. You'll have to use extlookup: http://blog.klavsen.info/content/extlookup-puppet-extension-you-cant-live-without You can make two calls to get the ipaddress, once in the classes and once in your node definitio

[Puppet Users] Re: qualified variables inside of a node definition?

2010-02-03 Thread John Lyman
> You could use stored configs and collect all the values for all the hosts on > all the hosts. This won't work in my case because I need the value from a host *before* the host actually has puppet installed and running. -- You received this message because you are subscribed to the Google Grou

Re: [Puppet Users] Key signing only

2010-02-03 Thread Daniel
You're right. Should have spent some more minutes thinking about it. It's been a long day... On Wed, Feb 3, 2010 at 8:26 PM, Scott Smith wrote: > Daniel wrote: >> >> Why not create a class or define containing your keys and run puppetd >> only with the related tag? This would only install your ce

[Puppet Users] managing gem files with puppet

2010-02-03 Thread Gustavo Soares
Hi everyone!! I have noticed that if I am managing gem files with puppet ensuring a specific version and the system has the gem 2 versions of that gem installed, including the version that I am managing, puppet doesn't identify that I have that gem installed. For example: package { fastt

Re: [Puppet Users] Key signing only

2010-02-03 Thread Scott Smith
Daniel wrote: Why not create a class or define containing your keys and run puppetd only with the related tag? This would only install your certificates but it requires you pre-generate the keys and certs on the puppetmaster. Without the private key, a certificate is useless. :( Also, how will

Re: [Puppet Users] Key signing only

2010-02-03 Thread Daniel
Why not create a class or define containing your keys and run puppetd only with the related tag? This would only install your certificates but it requires you pre-generate the keys and certs on the puppetmaster. On Wed, Feb 3, 2010 at 9:11 AM, Neil Prockter wrote: > Hello > > I often configure a

Re: [Puppet Users] qualified variables inside of a node definition?

2010-02-03 Thread Carl Caum
You could use stored configs and collect all the values for all the hosts on all the hosts. So something like this: node foo { ipaddress = 1.2.3.4 } node bar { ipaddress = 5.6.7.8 } class jumpstart { @@file{ "/etc/sysidcfg.d/$hostname": content => template("sysidcfg.erb"), ta

[Puppet Users] Re: Free press! Free Puppet T-shirts!

2010-02-03 Thread Daniel Kerwin
Just added my company. Tried this before but it seems like Trac had problems sending me my confirmation mail... I'll write a Testimonial as soon as i have some free time. On Feb 3, 5:22 pm, Michael DeHaan wrote: > Hi Everyone, > > We have a "WhosUsingPuppet" page up here: > > http://reductivelab

Re: [Puppet Users] Free press! Free Puppet T-shirts!

2010-02-03 Thread Carl Caum
Oops. Looks like I jumped the gun. I have to get approval from the higher ups so I've removed our entry for now. I'm sure they'll approve it so we can get it back up soon. On Feb 3, 2010, at 10:32 AM, Carl Caum wrote: > Sweet. Just added my company. I'll do a testimonial when I have more t

Re: [Puppet Users] Key signing only

2010-02-03 Thread Scott Smith
On 2/3/10 12:11 AM, Neil Prockter wrote: Hello I often configure a new node that I want to be the same as an existing one. However I'd like to run puppetd with --noop just the once to double check the changes (I'm still responsible for them after all) Trouble is on a new node the keys etc aren

Re: [Puppet Users] Free press! Free Puppet T-shirts!

2010-02-03 Thread Anchi Zhang
There are companies such as the one I am contracting at do not want their names to appear on a website or a mailing list unless agreed by the public relations people, although Puppet may have been doing wonders for them. On Wed, Feb 3, 2010 at 10:22 AM, Michael DeHaan wrote: > Hi Everyone, > > We

Re: [Puppet Users] Free press! Free Puppet T-shirts!

2010-02-03 Thread Carl Caum
Sounds good. Just added my company. I'll do a testimonial when I have more time. On Feb 3, 2010, at 10:22 AM, Michael DeHaan wrote: > Hi Everyone, > > We have a "WhosUsingPuppet" page up here: > > http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet > > However, while this mailing list

[Puppet Users] Re: Declarative style and processes

2010-02-03 Thread jcbollinger
> Next thing you know we'll need a rules engine and an artificial > intelligence. > > Yeah, we don't want to go there.   But multinode deployment?  Yes, we > want to go there. I think that's a great idea in principle, with several potential pitfalls. Do you have specific ideas about what capabili

[Puppet Users] Free press! Free Puppet T-shirts!

2010-02-03 Thread Michael DeHaan
Hi Everyone, We have a "WhosUsingPuppet" page up here: http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet However, while this mailing list has 1600+ people on it (excellent!) we have only about 100 on the user page. We'd love to have you listed up there! (Note: eventually I really

Re: [Puppet Users] Re: Declarative style and processes

2010-02-03 Thread Michael DeHaan
On Wed, Feb 3, 2010 at 9:32 AM, Jesús Couto wrote: > Wouldnt this tie up with things like Puppet+Capistrano, Puppet+ControlTier, > and such, that was pointed to me when asking about application deployment? > If by "tie up" you mean being able to do some of the same things, indeed yes. However

Re: [Puppet Users] Re: Declarative style and processes

2010-02-03 Thread Jesús Couto
Wouldnt this tie up with things like Puppet+Capistrano, Puppet+ControlTier, and such, that was pointed to me when asking about application deployment? -- Jesús Couto F. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.

[Puppet Users] Re: Cannot seem to turn off the CA

2010-02-03 Thread jcbollinger
On Feb 2, 2:14 pm, nicholas wrote: >     def self.ca? >         return false unless Puppet[:ca] >         return false unless Puppet[:name] == "puppetmasterd" >         return true >     end [...] > Basically I read this as, if this class is used inside of > puppetmasterd, then turn on the ce

[Puppet Users] Re: puppetdlog configuration parameter broken?

2010-02-03 Thread John Lyman
> The latter case - if you set syslogfacility you don't get any log > output to syslog at all? Only if I set it to nothing (i.e. "syslogfacility =" with no value). This is probably expected behavior, but I thought that maybe the syslogfacility needed to be turned off for puppetdlog to work. -- Y

Re: [Puppet Users] Making the new users experience easier

2010-02-03 Thread Oliver Schad
Am Wednesday 03 February 2010 schrieb mir James Cammarata: > On Tue, 02 Feb 2010 20:25:35 -0800, Scott Smith wrote: > > On 2/2/10 8:18 PM, James Cammarata wrote: > >> Symlinks wouldn't work, I'd just make them shell scripts. > > > > Wait, what? Checking $0 and loading client, server or doc code wo

Re: [Puppet Users] Making the new users experience easier

2010-02-03 Thread James Cammarata
On Tue, 02 Feb 2010 20:25:35 -0800, Scott Smith wrote: > On 2/2/10 8:18 PM, James Cammarata wrote: >> >> Symlinks wouldn't work, I'd just make them shell scripts. >> > > Wait, what? Checking $0 and loading client, server or doc code would work > just fine. :) > > -scott Heh yeah, you're right,

Re: [Puppet Users] puppetdlog configuration parameter broken?

2010-02-03 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/02/10 5:14 AM, John Lyman wrote: > I am trying to log to a file instead of syslog, but when I set > "puppetdlog = /var/log/puppetd.log", it still logs to syslog. If also > set "syslogfacility =", it doesn't log anywhere. The latter case - if you

Re: [Puppet Users] puppetdlog configuration parameter broken?

2010-02-03 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/02/10 5:14 AM, John Lyman wrote: > I am trying to log to a file instead of syslog, but when I set > "puppetdlog = /var/log/puppetd.log", it still logs to syslog. If also > set "syslogfacility =", it doesn't log anywhere. > > Does this work for a

Re: [Puppet Users] Combining our experience into a larger, common module repo

2010-02-03 Thread james
On 3 February 2010 21:04, Julian Simpson wrote: Can we start by grafting together everyone's modules and trying to namespace them? Has there been any discussion of bundling some common modules in the puppet distribution?  It might help people get up to speed faster. I don't think we'd want

Re: [Puppet Users] Combining our experience into a larger, common module repo

2010-02-03 Thread Julian Simpson
>> Can we start by grafting together everyone's modules and trying to >> namespace them? Has there been any discussion of bundling some common modules in the puppet distribution? It might help people get up to speed faster. -- Julian Simpson Software Build and Deployment http://www.build-doctor

Re: [Puppet Users] Avoiding duplicate definitions

2010-02-03 Thread Peter Meier
I'm building modules for the various web services I manage and I'm running into trouble in defining the dependencies. For example, two of my services require the same Apache module. If I define the package resource in both modules and then try to include them both on a single node, I get a "Dupl

[Puppet Users] Key signing only

2010-02-03 Thread Neil Prockter
Hello I often configure a new node that I want to be the same as an existing one. However I'd like to run puppetd with --noop just the once to double check the changes (I'm still responsible for them after all) Trouble is on a new node the keys etc aren't there and running as noop they don't get