Re: [Puppet Users] How the agents are distinguishing the matching config changes ?

2010-12-28 Thread Gabriel FIlion
On 10-12-28 09:45 AM, mbuyukkarakas wrote: > Dear members, > > I'm a newbie in Puppet. I was not able to find answers about this. > Could you please redirect me to the correct resources. Thank you. > > > I need to manage several Solaris10 servers. But I guess every server > wont have the same co

[Puppet Users] Modify file with use of regex

2010-12-28 Thread Dmytro Bablinyuk
Hi Everyone, I am trying to modify /etc/drbd.d/global_common.conf that in general looks like this ... net { # snd‐buf-size rcvbuf-size timeout connect-int ping- int ping-timeout max-buffers # max-epoch-size ko-count allow-two-primaries cram- hmac-alg shared

Re: [Puppet Users] Puppet definitions and inheritance

2010-12-28 Thread Gabriel FIlion
On 10-12-28 01:31 PM, cyrus wrote: > [...] > But Puppet complains > > err: Could not retrieve catalog from remote server: Error 400 on > SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: > Invalid resource type luser. > > I know this definition works since I can call it direc

Re: [Puppet Users] mod_passenger failed installation from puppetlab yum repo

2010-12-28 Thread Patrick
Ah. I stand corrected. On Dec 28, 2010, at 12:23 PM, hai wu wrote: > There is no same version of mod_passenger from the same place I got > rubygem-passenger: > > http://yum.puppetlabs.com/base/ > > Looks like it is known bug: > > https://projects.puppetlabs.com/issues/5374 > > On Tue, D

Re: [Puppet Users] mod_passenger failed installation from puppetlab yum repo

2010-12-28 Thread hai wu
There is no same version of mod_passenger from the same place I got rubygem-passenger: http://yum.puppetlabs.com/base/ Looks like it is known bug: https://projects.puppetlabs.com/issues/5374 On Tue, Dec 28, 2010 at 2:02 PM, Patrick wrote: > > On Dec 28, 2010, at 11:39 AM, hai wu wrote: > >

Re: [Puppet Users] Testing Puppet Manifests?

2010-12-28 Thread Patrick
On Dec 28, 2010, at 9:45 AM, Dustin J. Mitchell wrote: > Second, I'm working on refactoring our puppet configuration, and in so > doing it would be best to ensure I haven't unexpectedly changed any > resources. Is there any machine-parsable way of seeing the set of > resources that result from a

Re: [Puppet Users] mod_passenger failed installation from puppetlab yum repo

2010-12-28 Thread Patrick
On Dec 28, 2010, at 11:39 AM, hai wu wrote: > Just tried to install mod_passenger from puppetlabs yum repo, and it is > failing with the following error: > > ---> Package mod_passenger.i686 0:2.2.5-1 set to be updated > --> Processing Dependency: rubygem-passenger = 2.2.5-1 for package: > mod

[Puppet Users] Re: [Puppet-dev] Converting to Ruby DSL

2010-12-28 Thread Ken Barber
I've moved the doc and cleaned it up a bit now. Its a very rudimentary start: https://projects.puppetlabs.com/projects/puppet/wiki/Ruby_Dsl As far as recommended DSL conventions for bits that aren't supported yet, here are some suggestions to open up the discussion as I'm sure people have thei

[Puppet Users] mod_passenger failed installation from puppetlab yum repo

2010-12-28 Thread hai wu
Just tried to install mod_passenger from puppetlabs yum repo, and it is failing with the following error: ---> Package mod_passenger.i686 0:2.2.5-1 set to be updated --> Processing Dependency: rubygem-passenger = 2.2.5-1 for package: mod_passenger ---> Package mod_passenger.x86_64 0:2.2.5-1 set to

[Puppet Users] Generating Certs

2010-12-28 Thread Mike
Hi, I am trying to generate certificates on my puppet client to enable communication with my puppet master. However, when I run rake cert:create_key_pair I get the following message from rake: rake aborted! Don't know how to build task 'cert:create_key_pair' I am hoping someone has seen this an

[Puppet Users] Puppet definitions and inheritance

2010-12-28 Thread cyrus
Are definitions inherited? By that I mean I have the following: class main { define luser () { ... some code ... } } class inetd inherits main { /* call luser definition */ luser { $name: } } But Puppet complains

Re: [Puppet Users] Testing Puppet Manifests?

2010-12-28 Thread Nigel Kersten
On Tue, Dec 28, 2010 at 9:45 AM, Dustin J. Mitchell wrote: > First, apologies if this is a FAQ: a few weeks of searching and reading > hasn't uncovered anything particularly helpful.  I'll be happy to > summarize the results in a blog post or some more official place. > > I'm having a hard time fi

[Puppet Users] Testing Puppet Manifests?

2010-12-28 Thread Dustin J. Mitchell
First, apologies if this is a FAQ: a few weeks of searching and reading hasn't uncovered anything particularly helpful. I'll be happy to summarize the results in a blog post or some more official place. I'm having a hard time figuring out how best to develop and test changes to Puppet manifests.

Re: [Puppet Users] Use MySQL replication with stored configs

2010-12-28 Thread Ohad Levy
2010/12/27 Carles Amigó > Couldn't find any related thread... > > We're using it mainly for collection so far (ie: nagios), but in the future > we'll probably use it for inventory too. > My solution for collection / inventory was to use Foreman [1] (and especially its query interface [2] for col

[Puppet Users] Re: Help with Puppet install on OS X Server

2010-12-28 Thread Rahul Das
Hi, I am using CentOS box and faced the same problem. It got solved by creating the rrd folder and change the ownership to puppet user:group mkdir rrd chown puppet:puppet rrd On Dec 19, 12:43 am, Brian LaShomb wrote: > Thanks Gary! I'll check this out. > > On Fri, Dec 17, 2010 at 8:52 PM, Gary

[Puppet Users] How the agents are distinguishing the matching config changes ?

2010-12-28 Thread mbuyukkarakas
Dear members, I'm a newbie in Puppet. I was not able to find answers about this. Could you please redirect me to the correct resources. Thank you. I need to manage several Solaris10 servers. But I guess every server wont have the same configuration or same templates. So how the agents are distin

[Puppet Users] Re: Nested Class

2010-12-28 Thread cyrus
Ah, that is it. Simple typo on my part. Thanks for pointing that out. Much appreciated. On Dec 27, 10:50 pm, Naresh V wrote: > On 28 December 2010 09:41, cyrus wrote: > > > > > > > > > > > Hi: > > > I have something like this: > > > class xinetd { > > >   ... some Puppet code ... > > >  class xi

Re: [Puppet Users] Report rrdgraph failed: could not create RRD file

2010-12-28 Thread Martijn Grendelman
Hi, Today, I set up 'rrdgraph' reports. What could be the cause of this: Dec 24 15:52:35 offman01 puppet-master[20593]: Report rrdgraph failed: Could not create RRD file /var/lib/puppet/rrd/talk.dev.iphion.nl/changes.rrd: you must define at least one Data Source >> >>

Re: [Puppet Users] Unrecognised escape sequence '\~'

2010-12-28 Thread Martijn Grendelman
On 27-12-10 15:05, Felix Frank wrote: > On 12/27/2010 02:54 PM, Martijn Grendelman wrote: >> Hi, In one of my modules, I have the following: exec { "/bin/sed -i '\~^${line}$~d' '${file}'": The '\~' is there, to make sed use '~' as the command separator instead of '/'

Re: [Puppet Users] Report rrdgraph failed: could not create RRD file

2010-12-28 Thread Martijn Grendelman
On 27-12-10 17:13, James Turnbull wrote: > Martijn Grendelman wrote: >> On 24-12-10 16:47, Martijn Grendelman wrote: >>> Hi, >>> >>> Today, I set up 'rrdgraph' reports. What could be the cause of this: >>> >>> Dec 24 15:52:35 offman01 puppet-master[20593]: Report rrdgraph failed: >>> Could not crea