[Puppet Users] Re: simple question.

2010-05-17 Thread Ray Liu
Thanks a lot On May 18, 12:14 pm, "Matt Ackerman" wrote: > Hello, > > I am assuming you mean the file is not present on the client and you > want to transfer it from the masters file server. This is actually very > easy and one of the most basic things you can do. > > Take a look at the following

Re: [Puppet Users] Re: External Nodes

2010-05-17 Thread Tony G.
According to experience what's the pros/cons of those methods to store the nodes? Like ldap, DB, a library/framework like clusto/puppetdashboard/foreman etc. Thanks On Sat, May 15, 2010 at 5:22 PM, Silviu Paragina wrote: > On 15.05.2010 00:30, Baker, Luke Jefferson wrote: > >> Speaking of exte

Re: [Puppet Users] Negative requires

2010-05-17 Thread Tim Nicholas
Ah. Thanks everyone. I new I'd misunderstood something. On 18 May 2010 16:49, Ohad Levy wrote: > package { "MySQL-client-community" : ensure => installed, require => > Package[ "mysql" ] } > > will just work, as you are requiring the the mysql package is already absent > before you install the

Re: [Puppet Users] Negative requires

2010-05-17 Thread Ohad Levy
package { "MySQL-client-community" : ensure => installed, require => Package[ "mysql" ] } will just work, as you are requiring the the mysql package is already absent before you install the other package. Ohad On Tue, May 18, 2010 at 12:35 PM, Tim Nicholas wrote: > Hello everyone, > > > I'm j

Re: [Puppet Users] Negative requires

2010-05-17 Thread Patrick
On May 17, 2010, at 9:35 PM, Tim Nicholas wrote: > I can do something like: > > package { [ "mysql" ] : ensure => absent, } > package { [ "MySQL-client-community", ] : ensure => installed, } > > Which is fine, unless "MySQL-client-community" is scheduled to be > installed before mysql is remo

Re: [Puppet Users] Negative requires

2010-05-17 Thread Paul Lathrop
Hi Tim, What you want is this: package { "mysql": ensure => absent, before => Package["MySQL-client-community"]; } package { "MySQL-client-community": ensure => installed;} On Mon, May 17, 2010 at 9:35 PM, Tim Nicholas wrote: > Hello everyone, > > > I'm just getting to grips with Puppet so apol

[Puppet Users] Negative requires

2010-05-17 Thread Tim Nicholas
Hello everyone, I'm just getting to grips with Puppet so apologies if I've missed something. I'm wondering if there is a way to require that something isn't the case. My current situation/example is that I'm trying to uninstall one package ("mysql") and install another one that conflicts with i

RE: [Puppet Users] simple question.

2010-05-17 Thread Matt Ackerman
Hello, I am assuming you mean the file is not present on the client and you want to transfer it from the masters file server. This is actually very easy and one of the most basic things you can do. Take a look at the following and let us know if you have any questions: http://docs.puppetlabs.co

[Puppet Users] simple question.

2010-05-17 Thread Ray Liu
Hi Guys, I'm new to puppet, how can I write a recipe that puppet client will retrieve a file from puppet master server if it's not present. any ideas? Thanks -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email t

[Puppet Users] ANNOUNCE: Puppet 0.25.5 available!

2010-05-17 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Welcome back to the Puppet release cycle for the stable release of 0.25.5. The 0.25.5 release is a maintenance release in the 0.25.x branch. It contains a number of bug fixes but also performance enhancements including speed-ups to Puppet's graphing.

[Puppet Users] Re: Writing a properly-formed custom type (configxml)

2010-05-17 Thread Ty C
This post enlightened me. http://groups.google.com/group/puppet-users/browse_thread/thread/449e106437c3f673/ca9ff7055797f18c?lnk=gst I've split configxml into a provider and a type and it appears to work properly now. In more detail, I rewrote "attributes" as a property. All logic is moved into an

[Puppet Users] Re: Issue with naginator and elusive nagios cfg file corruption (#3712)

2010-05-17 Thread Joe McDonagh
On 05/03/2010 03:33 PM, Joe McDonagh wrote: > Hello, I have run into a data corruption problem with naginator that is > fairly difficult for me to track down. Hand-written configurations do > not suffer from this fate. This was present in .24.8, and still present > in .25.4. I'd love to complete th

Re: [Puppet Users] Have I found a bug with variables in nodes?

2010-05-17 Thread Nigel Kersten
On Fri, May 14, 2010 at 8:12 PM, Dan Bode wrote: > > > On Fri, May 14, 2010 at 6:01 PM, Nigel Kersten wrote: > >> >> >> On Fri, May 14, 2010 at 1:42 PM, Paul Lathrop wrote: >> >>> >>> Assuming the client has puppeted at least once against that server. >>> This >>> >>> won't work for bootstrappin

[Puppet Users] common module [was: puppet-module-apache]

2010-05-17 Thread Marc Fournier
> Since I'm almost convinced that people will keep on doing their own > apache modules and there will hardlly be a monstre module good for > every use [...] I've been thinking about this and about the various attempts to start a "common modules" project that we have seen in the past. I believe t

Re: [Puppet Users] Namespace conflicts

2010-05-17 Thread Trevor Vaughan
Hmm..I didn't think about that. That does indeed appear to work. Most interesting. Thanks! Trevor On Mon, May 17, 2010 at 5:47 PM, R.I.Pienaar wrote: > > - "Trevor Vaughan" wrote: > >> Sorry if this has been covered before, but I couldn't find it in a >> cursory search. >> >> If you have

Re: [Puppet Users] Namespace conflicts

2010-05-17 Thread R.I.Pienaar
- "Trevor Vaughan" wrote: > Sorry if this has been covered before, but I couldn't find it in a > cursory search. > > If you have a module: > > /etc/puppet/modules/foo > > And you have a module: > > /etc/puppet/modules/bar/manifests/foo.pp > > Then all references to 'foo' within that nam

[Puppet Users] Re: Time is running out to register for Puppet Camp Europe in Ghent, Belgium May 27-28th

2010-05-17 Thread Al @ Lab42
> > Luke Kanies > > Jeff McCune > > Scott Campbell > > Markus Roberts Too bad that Dan (Bode) is not in the bunch... :-) For the people unsure if it's worth the case to partecipate I can say that the previous Puppet Camp has been a totally enjoyful, interesting, inspiring and enlightening experie

[Puppet Users] Namespace conflicts

2010-05-17 Thread Trevor Vaughan
Sorry if this has been covered before, but I couldn't find it in a cursory search. If you have a module: /etc/puppet/modules/foo And you have a module: /etc/puppet/modules/bar/manifests/foo.pp Then all references to 'foo' within that namespace seem to scope down to the local foo; is this corre

Re: [Puppet Users] Time is running out to register for Puppet Camp Europe in Ghent, Belgium May 27-28th

2010-05-17 Thread R.I.Pienaar
- "Scott Olson" wrote: > Hi, > > The following Puppet Labs employees will be attending Puppet Camp > Europe next week: > > Luke Kanies > Jeff McCune > Scott Campbell > Markus Roberts thank you! -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] Time is running out to register for Puppet Camp Europe in Ghent, Belgium May 27-28th

2010-05-17 Thread Scott Olson
Hi, The following Puppet Labs employees will be attending Puppet Camp Europe next week: Luke Kanies Jeff McCune Scott Campbell Markus Roberts Scott On May 17, 2010, at 8:34 AM, R.I.Pienaar wrote: > hello, > > - "Scott Olson" wrote: > >> Get details about the event and registration fro

Re: [Puppet Users] Time is running out to register for Puppet Camp Europe in Ghent, Belgium May 27-28th

2010-05-17 Thread R.I.Pienaar
hello, - "Scott Olson" wrote: > Get details about the event and registration from our blog: > > http://www.puppetlabs.com/blog/time-is-running-out-to-register-for-puppet-camp-europe-may-27th-28th-in-ghent-belgium/ > > If you're going to be in Europe next week don't miss this opportunity >

[Puppet Users] Time is running out to register for Puppet Camp Europe in Ghent, Belgium May 27-28th

2010-05-17 Thread Scott Olson
Get details about the event and registration from our blog: http://www.puppetlabs.com/blog/time-is-running-out-to-register-for-puppet-camp-europe-may-27th-28th-in-ghent-belgium/ If you're going to be in Europe next week don't miss this opportunity to interact with the Puppet Labs team and the Pup

Re: [Puppet Users] Re: Unable to retrieve files from puppet server (Errror 400)

2010-05-17 Thread Nigel Kersten
On Mon, May 17, 2010 at 6:05 AM, Abhishek wrote: > > > On Apr 11, 4:57 pm, Mark Nelson wrote: > > Hello > > > > I am using the following software - > > > > *Operating System: > > > > *Scientific Linux SL release 5.3 (Boron), Scientific Linux is a rebuild > > of Redhat Enterprise > > > > *Ruby ve

Re: [Puppet Users] Documentation link error

2010-05-17 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Silviu Paragina wrote: > I have found some broken links on > http://docs.puppetlabs.com/guides/more_language.html#functions . Where > should I post and/or fix the error? > http://projects.puppetlabs.com/projects/puppet-docs/issues And you're welco

Re: [Puppet Users] Re: External Nodes

2010-05-17 Thread Silviu Paragina
On 15.05.2010 00:30, Baker, Luke Jefferson wrote: Speaking of external nodes.. Any decent tutorials out there for someone that has no idea where to start? ;) External nodes are a way of looking up classes and vars to be applied to a node via an external application. http://docs.puppetlabs.c

Re: [Puppet Users] Re: External Nodes

2010-05-17 Thread Silviu Paragina
On 15.05.2010 00:30, Baker, Luke Jefferson wrote: Speaking of external nodes.. Any decent tutorials out there for someone that has no idea where to start? ;) To my last e-mail. Correction extlookup does not do external node lookup. :) It's a puppet function sorry about the confussion.

Re: [Puppet Users] ssh::auth unable to get working

2010-05-17 Thread Silviu Paragina
On 15.05.2010 10:18, Michael Dodwell wrote: Hey all, Just trying to get http://projects.reductivelabs.com/projects/puppet/wiki/Module_Ssh_Auth_Patterns to work: I've managed to get everything except ssh::auth::client happening. I just don't understand why it isn't working. It is just a very si

[Puppet Users] Documentation link error

2010-05-17 Thread Silviu Paragina
I have found some broken links on http://docs.puppetlabs.com/guides/more_language.html#functions . Where should I post and/or fix the error? Silviu -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-u

[Puppet Users] Writing a properly-formed custom type (configxml)

2010-05-17 Thread =?ISO-2022-JP?Q?$B%?
Please hold my hand. After studying the wiki, several unofficial pages, various mailing list entries, and the operation of the "iptables" type as found on the net, I have created a custom type, lovingly named ``configxml''. It updates attributes on the first element matching a supplied XPath in

[Puppet Users] filebucket issue

2010-05-17 Thread Abhishek
Hi, I am using puppet to deploy config files but i am facing issue while implementing filebucket for backup. Issue is i am defining central file bucket but still files are getting stored in local file client bucket. site.pp ( content) include node.pp filebucket { main: server => 'nmlimage01.edc

[Puppet Users] Re: Unable to retrieve files from puppet server (Errror 400)

2010-05-17 Thread Abhishek
On Apr 11, 4:57 pm, Mark Nelson wrote: > Hello > > I am using the following software - > > *Operating System: > > *Scientific Linux SL release 5.3 (Boron), Scientific Linux is a rebuild > of Redhat Enterprise > > *Ruby version:* > > ruby-shadow-1.4.1-7.el5.x86_64 > ruby-irb-1.8.5-5.el5_3.7.x86_6

Re: [Puppet Users] Re: External Nodes

2010-05-17 Thread David Schmitt
On 5/14/2010 10:38 PM, Paul Lathrop wrote: No, you cannot put resources directly into nodes when you are using external nodes. In practice, this hasn't mattered; you wrap your resources in a class, done. Exactly. The most straght-forward way to do this is to s/node/class/ and include $fqdn via

[Puppet Users] Re: Puppetcamp

2010-05-17 Thread Al @ Lab42
About the PuppetCamp, it would be nice, as "consolidated tradition", to arrange a meetup at least the evening of 26th of May for who is already at Ghent. Any reccomendation from belgian natives about pubs or places good for the gathering? Al -- You received this message because you are subscribe