[Puppet Users] Re: Puppet 2.6 on Solaris

2011-03-14 Thread Mark Phillips
Released David. Should be in the catalog soon. http://probably.co.uk/cswpuppet-2-6-6-released.html On Mar 13, 5:33 pm, Mark Phillips wrote: > On 13 Mar 2011, at 13:48, Maciej Bliziński wrote: > > > > > > > > > > > Hi David, > > > On Jan 31, 9:06 am, David Schmitt wrote: > >> I'm looking for cur

[Puppet Users] Re: Deduplication (was: Why is it so hard to make a sane nagios server config?)

2011-03-14 Thread jcbollinger
On Mar 11, 10:29 am, Brian Gallew wrote: > I'm not sure what you mean by deduplicating.  Puppet won't let you have > duplicate *anything*, exported or not. To be more precise, Puppet won't let you declare two or more resources having the same name or title for the same node. That could actually

[Puppet Users] Re: How can I dynamically realize this?

2011-03-14 Thread jcbollinger
On Mar 10, 6:56 pm, Roberto Bouza wrote: > I have an array like this: > > $items = [ "a", "-b" ] > > That should generate something like this (let's say for the Cron > resource: > > Cron <| (tag == "a" or title == "a") and (tag != "b" or title != "b") | > > > > The reason is because we are group

Re: [Puppet Users] slight security problem

2011-03-14 Thread Mohamed Lrhazi
On Mon, Mar 14, 2011 at 2:36 AM, Michael Dodwell wrote: > Hey, > > > If i shutdown nginx and run the fetches via puppetmasterd I get > errors, as expected. > If you restart nginx, does the old client still work? Am guessing nginx needs to have access to, and use, an updated revocation list file, o

[Puppet Users] configsync requires 2nd puppet run for plugin loading to work

2011-03-14 Thread Mikael Fridh
First run of puppet performs a configsync and an attempt to load the downloaded plugins, the provider fails to be found by puppet in this first run, another re-run of puppet is needed for the provider to work, see debug output below. Is this a bug or am I missing something you think? The error in

[Puppet Users] Berlin Puppet meet-up?

2011-03-14 Thread Dan Bode
Hi Puppeteers, I will be in Berlin for the next couple of weeks and was wondering if any Puppet users would be interested in getting together for beer, trading Puppet stories, etc... -Dan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post

Re: [Puppet Users] Berlin Puppet meet-up?

2011-03-14 Thread Romain Pelisse
Hi, I'll definitelly be interested. Maybe you could set up a doodle for this ? (just to be sure, you mean "Berlin, Germany,Europe" ? Not Berlin, somewhere else in the US...) On 14 March 2011 16:22, Dan Bode wrote: > Hi Puppeteers, > > I will be in Berlin for the next couple of weeks and was wo

Re: [Puppet Users] Berlin Puppet meet-up?

2011-03-14 Thread Martin Alfke
Hi Dan, On Mar 14, 2011, at 4:22 PM, Dan Bode wrote: > Hi Puppeteers, > > I will be in Berlin for the next couple of weeks and was wondering if any > Puppet users would be interested in getting together for beer, trading Puppet > stories, etc... > > -Dan Will you be in Berlin, Germany? It wo

[Puppet Users] A question of order

2011-03-14 Thread David Kavanagh
I understand how before, requires, etc work. I'm not quite so clear on stages. I have many modules I've created for various configuration items. My site.pp contains a class that simply includes them (some, based on facts). I have a default node that includes the class. That's fine. However, I want

RE: [Puppet Users] Issues with hostname using Puppet reports

2011-03-14 Thread Ricardo Bartolome Mendez
Hello Daniel, In my previous email I asked for two different things, so sorry for the confusion. Basically the first issue is the about certificates, and the second issue is scaling the dashboard report when a lot of clients try sending reports. Anyways, let's focus in the certificate issue: As c

[Puppet Users] Re: A question of order

2011-03-14 Thread David Kavanagh
I found this, which helps. I'm going to try something based on it. http://projects.puppetlabs.com/issues/5709 On Mon, Mar 14, 2011 at 4:29 PM, David Kavanagh wrote: > I understand how before, requires, etc work. I'm not quite so clear on > stages. > > I have many modules I've created for various

[Puppet Users] Ken Barber

2011-03-14 Thread James Turnbull
Hi all We're pleased to announce Ken Barber has joined the Puppet Labs Professional Services team. Ken will be based in London and help us out with customers in Europe. Ken has spent the last few years implementing Puppet at various organisations in the UK and will be well known to many of you.

[Puppet Users] mccollective

2011-03-14 Thread Marek Dohojda
I hope that someone can help me here. in mcollective server.cfg I have following: identity = fqdn When I do mc-inventory (or any other function) the host name says: "fqdn". If i put hostname itself in it than that works, however that would mean I have to fill in that field on every server. Of

Re: [Puppet Users] mccollective

2011-03-14 Thread Sergey Zhuga
Hi, You can don't specify this parameter. It will be taken from system configuration. On 14.03.2011 19:08, Marek Dohojda wrote: I hope that someone can help me here. in mcollective server.cfg I have following: identity = fqdn When I do mc-inventory (or any other function) the host name

[Puppet Users] Re: Berlin Puppet meet-up?

2011-03-14 Thread Dan Bode
On Mon, Mar 14, 2011 at 10:32 AM, Dan Bode wrote: > Hi all, > > I posted the invitation for Berlin Puppet meetup here: > > http://www.meetup.com/Puppet/Berlin-DE/80813/?ed=descr > sorry, wrong link: http://www.meetup.com/Puppet/Berlin-DE/ > please RSVP so I can get an idea about how much spa

[Puppet Users] Re: Berlin Puppet meet-up?

2011-03-14 Thread Dan Bode
Hi all, I posted the invitation for Berlin Puppet meetup here: http://www.meetup.com/Puppet/Berlin-DE/80813/?ed=descr please RSVP so I can get an idea about how much space we need. also, recommendations for locations in the city center would be greatly appreciated. -Dan On Mon, Mar 14, 2011 a

Re: [Puppet Users] mccollective

2011-03-14 Thread Marek Dohojda
D'OH! That worked like a champ! thank you. On Mon, Mar 14, 2011 at 11:25 AM, Sergey Zhuga wrote: > Hi, > > You can don't specify this parameter. It will be taken from system > configuration. > > > On 14.03.2011 19:08, Marek Dohojda wrote: > >> I hope that someone can help me here. >> >> in mco

[Puppet Users] Re: How can I dynamically realize this?

2011-03-14 Thread Roberto Bouza
Ha!!! That is a nice approach... Let me try that one and I'll get back to you on this. Thank you. On Mar 14, 5:50 am, jcbollinger wrote: > On Mar 10, 6:56 pm, Roberto Bouza wrote: > > > > > > > I have an array like this: > > > $items = [ "a", "-b" ] > > > That should generate something like th

Re: [Puppet Users] How can I dynamically realize this?

2011-03-14 Thread Nigel Kersten
On Thu, Mar 10, 2011 at 9:27 PM, Brian Gallew wrote: > All that said, evil tricks lurk in the land of dragons.  Don't bother asking > for help if you go down this particular path, because the Puppetlabs people > will only tell you that "you're doing it wrong" and no one else will be > willing to

Re: [Puppet Users] A question of order

2011-03-14 Thread Nigel Kersten
On Mon, Mar 14, 2011 at 9:29 AM, David Kavanagh wrote: > I understand how before, requires, etc work. I'm not quite so clear on > stages. > I have many modules I've created for various configuration items. My site.pp > contains a class that simply includes them (some, based on facts). I have a > d

Re: [Puppet Users] A question of order

2011-03-14 Thread David Kavanagh
Here's what I ended up with (with real stuff in the classes...) site.pp: stage { [ "pre", "post" ]: } Stage['pre'] -> Stage['main'] -> Stage['post'] class first { ... } class second { ... } class third { ... } node default { class { 'first': stage => pre } class { 'second': stage => m

Re: [Puppet Users] empty files being served from puppet master

2011-03-14 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I'm assuming this might be the clients running an older version? likely, as imho the clients are actually the ones dealing with the exception. ~pete -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla

Re: [Puppet Users] empty files being served from puppet master

2011-03-14 Thread Ryan Dooley
Yep. That is exactly what was going on. Once the clients were brought up to the same rev, things went back to normal. Cheers, Ryan On Mar 14, 2011 5:31 PM, "Peter Meier" wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I'm assuming this might be the clients running an older version? l

Re: [Puppet Users] A question of order

2011-03-14 Thread Nigel Kersten
On Mon, Mar 14, 2011 at 5:31 PM, David Kavanagh wrote: > Here's what I ended up with (with real stuff in the classes...) That definitely works too, and gives you a more flexible setup than my suggestion. > site.pp: > stage { [ "pre", "post" ]: } > Stage['pre'] -> Stage['main'] -> Stage['post'] >

[Puppet Users] could not find class

2011-03-14 Thread Brandon Metcalf
I'm using the module https://github.com/sansnoc/puppet/tree/master/users but running into a problem where puppet can't find a class. In /etc/ puppet/manifests/nodes.pp I have node basenode { include hosts include groups::namidev include users::people include users::namidev } node 'uti

[Puppet Users] templates for user resources types

2011-03-14 Thread VinceT
I'm attempting to use puppet for customing the root gecos field to use a template to insert the local hostname for Redhat 5.5 and Solaris 10.I'm using Puppet 2.6.4 with environments and modules and seeing trouble that looks like end of lines not being suppressed from the template. class passw

[Puppet Users] managing netgroups in /etc/passwd user resources?

2011-03-14 Thread VinceT
Hi, I'd like to maintain netgroup entries in the /etc/passwd, /etc/shadow files to allow all unix admins loging access and default setup nologin for every non-authorized user. +@unixoperators:x: +:x:/opt/script/nologin I saw a thread about this online, but not a definitive resolution - n

[Puppet Users] State of the pkgutil provider?

2011-03-14 Thread Jonathan
Hi all, Just wondering if anyone knows if work is still being done on this provider. At present, one is not able to ensure that a particular version is installed and this is crucial for a job that I need to do. Last activity on this seems to have been in late 2010. I've looked at the provider s

[Puppet Users] How to get the result of a command in puppet?

2011-03-14 Thread duff
Hello, I am trying to export the latest tag of an svn repository to a puppet client. To do so, I would like to run the following command to get the latest tag /usr/bin/svn ls http://url_to_my_svn_repository/tags | /usr/bin/ tail -1 However, I couldn't find a way to store the result of an exec

Re: [Puppet Users] templates for user resources types

2011-03-14 Thread Nigel Kersten
On Mon, Mar 14, 2011 at 11:07 AM, VinceT wrote: > I'm attempting to use puppet for customing the root gecos field to use > a template to insert the local hostname for Redhat 5.5 and Solaris > 10.    I'm using Puppet 2.6.4 with environments and modules and seeing > trouble that looks like end of li

[Puppet Users] grub config

2011-03-14 Thread David Kavanagh
Has anyone come up with a preferred method of messing with grub? I need to install a hypervisor (like xen or kvm) and modify the grub.conf to make the machine boot from the new kernel. I might mess with Augeas. What do the experts say? David -- You received this message because you are subscribe

Re: [Puppet Users] Proposal: "strict" mode for manifests

2011-03-14 Thread Kevin Beckford
This certainly explains a lot. A very good idea, IMO. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@

Re: [Puppet Users] templates for user resources types

2011-03-14 Thread Brian Gallew
On Mon, Mar 14, 2011 at 11:07 AM, VinceT wrote: > > > class passwd { > > user { "root": >ensure => present, >comment => template("passwd/passwd.root.user.erb"), > >} > > passwd.root.user.erb contains: > > Root user on <%= hostname %> > > For such a simple substitution, you

Re: [Puppet Users] How to get the result of a command in puppet?

2011-03-14 Thread Brian Gallew
On Mon, Mar 14, 2011 at 8:12 AM, duff wrote: > Hello, I am trying to export the latest tag of an svn repository to a > puppet client. > To do so, I would like to run the following command to get the latest > tag >/usr/bin/svn ls http://url_to_my_svn_repository/tags | /usr/bin/ > tail -1 > > Ho