Re: [Puppet Users] [SOLVED] Tag usage question

2010-08-25 Thread Jean Baptiste FAVRE
Hello, I finally found a way to get things done the way I want. Daniel, thanks for your answer which pointed me the solution: class bootstrap { if ($bootstrap_step){ ... everything you want to do at this stage ... } } node default { include bootstrap } And in post-install ac

Re: [Puppet Users] quoting special characters in puppet.conf

2010-08-25 Thread Patrick
On Aug 24, 2010, at 11:52 PM, Amos Shapira wrote: > Hello, > > I'd like to pass the following flags to diff through puppet: > > -urbB -I $Id -I $HeadURL -I $URL > > But when I try to set diff_args in /etc/puppet/puppet.conf like this: > >diff_args = -ubB -I \$Id -I \$HeadURL -I \$URL > >

[Puppet Users] Re: Forbidden request: HOSTNAME(IP_ADDRESSE) access to / certificate_revocation_list/ca

2010-08-25 Thread Christian
Hi guys, sorry for the late answer but i was on vacation... I tried all your suggestions (setting auth to no) but i'm still getting the same wrong behaviour. Has anybody an idea how to progress here? I also have the feeling that there are less people having a proper puppet passenger installation

[Puppet Users] Puppet hangs

2010-08-25 Thread kit
Hello, we have one puppet server managing approx servers, all FreeBSD. The problem is that the puppet clients all hangs, one by one, eventually. They will run for anything between an hour up to a week. But eventually the all hang. We really like puppet and want to keep using it. But the way it i

[Puppet Users] Re: Puppet hangs

2010-08-25 Thread merritt
Have you considered running puppet out of the cron and not as a daemon? Since i have started running puppet out of the cron it works pretty well. http://projects.reductivelabs.com/projects/puppet/wiki/Cron_Patterns Merritt. On Aug 25, 12:50 pm, kit wrote: > Hello, > > we have one puppet server

[Puppet Users] Re: quoting special characters in puppet.conf

2010-08-25 Thread Amos Shapira
Patrick, I see only a quote of my question in your reply. Do you have an answer? Thanks. --Amos On Aug 25, 6:28 pm, Patrick wrote: > On Aug 24, 2010, at 11:52 PM, Amos Shapira wrote: > > > Hello, > > > I'd like to pass the following flags to diff through puppet: > > > -urbB -I $Id -I $HeadUR

[Puppet Users] Re: Puppet hangs

2010-08-25 Thread kit
Yes, we tried that, that's actually the way we are running at the moment. However, to no avail.. Thanks for the tip though :) On 25 Aug, 13:26, merritt wrote: > Have you considered running puppet out of the cron and not as a > daemon? Since i have started running puppet out of the cron it works

Re: [Puppet Users] Puppet hangs

2010-08-25 Thread Brice Figureau
On Wed, 2010-08-25 at 03:50 -0700, kit wrote: > Hello, > > we have one puppet server managing approx servers, all FreeBSD. > > The problem is that the puppet clients all hangs, one by one, > eventually. They will run for anything between an hour up to a week. > But eventually the all hang. > > W

[Puppet Users] Puppet hangs

2010-08-25 Thread denmat
What sort of things are you trying to do? I've seen an issue like that which was due to a recursive operation on a large file system (nfs mounted). You probably need to provide more information to get greater help. Cheers DenMat On 25/08/2010, at 9:57 PM, kit wrote: > Yes, we tried that, that's

Re: [Puppet Users] Re: Is it possible to use hierarchic LDAP entries for puppet clients and parentnodes?

2010-08-25 Thread Rob McBroom
On Aug 24, 2010, at 1:49 AM, puppetplayer wrote: > Most entries from puppetc1, zzbasenode and 192_168_100_0 are included > in the puppet catalog file 'puppetc2.zz.example.com.yaml' > Only those entries, that not exist at puppetc2 are included from > zzbasenode. > And only those entries, that are n

[Puppet Users] Re: getting empty files from fileserver

2010-08-25 Thread Naresh V.
Hi, My setup: gems: rack (1.0.1) rails (2.3.4) rake (0.8.7) activerecord (2.3.8, 2.3.4) activeresource (2.3.8, 2.3.4) activesupport (2.3.8, 2.3.4) mongrel (1.1.5) RPMs: puppet-server-2.6.0-0.7.el5 (tmz's) I patched the files installed via the RPM to test out nginx+mongrel as follows (taken from

[Puppet Users] Graphviz Error

2010-08-25 Thread Sven Sporer
Hi Puppetmasters, my puppet client successfully generates the graphs in /var/lib/puppet/ state/graphs: * expanded_relationships.dot * relationships.dot * resources.dot When trying to convert them with graphviz, I get the following error: % dot -Tpng resources.dot -o configuration.png Error: res

Re: [Puppet Users] Re: quoting special characters in puppet.conf

2010-08-25 Thread Tom Duckering
I believe the escape character is simply \ I use it to escape quotes - \" On 25 Aug 2010, at 12:35, Amos Shapira wrote: > Patrick, > > I see only a quote of my question in your reply. > > Do you have an answer? > > Thanks. > > --Amos > > > On Aug 25, 6:28 pm, Patrick wrote: >> On Aug 24,

Re: [Puppet Users] Graphviz Error

2010-08-25 Thread James Turnbull
Sven Sporer wrote: > Hi Puppetmasters, > > my puppet client successfully generates the graphs in /var/lib/puppet/ > state/graphs: > > * expanded_relationships.dot > * relationships.dot > * resources.dot > > When trying to convert them with graphviz, I get the following error: > > % dot -Tpng re

Re: [Puppet Users] Re: quoting special characters in puppet.conf

2010-08-25 Thread Patrick
Sorry. I must have pressed Send instead of Discard. I didn't actually have anything to say. On Aug 25, 2010, at 4:35 AM, Amos Shapira wrote: > Patrick, > > I see only a quote of my question in your reply. > > Do you have an answer? > > Thanks. > > --Amos > > > On Aug 25, 6:28 pm, Patrick

[Puppet Users] Centralised Graphing?

2010-08-25 Thread Matt Wallace
Hi all, I'm starting to look at the graphing features of Puppet and I'm struggling to find a way of collating the graphs for testing purposes. Is there a way to centralise the output from the graphs into something like "hostname.relationships.dot" on the puppet master? Thanks, Matt -- You r

[Puppet Users] Re: Centralised Graphing?

2010-08-25 Thread Phips
puppet-dashboard? On Aug 25, 5:54 pm, Matt Wallace wrote: > Hi all, > > I'm starting to look at the graphing features of Puppet and I'm struggling to > find a way of collating the graphs for testing purposes. > > Is there a way to centralise the output from the graphs into something like > "hostn

Re: [Puppet Users] Centralised Graphing?

2010-08-25 Thread Luke Kanies
On Aug 25, 2010, at 9:54 AM, Matt Wallace wrote: > Hi all, > > I'm starting to look at the graphing features of Puppet and I'm struggling to > find a way of collating the graphs for testing purposes. > > Is there a way to centralise the output from the graphs into something like > "hostname.re

Re: [Puppet Users] Puppet hangs

2010-08-25 Thread Russ Allbery
kit writes: > we have one puppet server managing approx servers, all FreeBSD. > The problem is that the puppet clients all hangs, one by one, > eventually. They will run for anything between an hour up to a week. > But eventually the all hang. The Debian project is similarly seeing lots of inst

[Puppet Users] Re: How to start using Puppet

2010-08-25 Thread sumarc
Thx James, I've checked out those pages, but to be honest I'm still a bit confused. One of the pages mentions to test Puppet locally (without server and client), how do I do this? Is there a doc for this too? On Aug 24, 6:11 pm, James Turnbull wrote: > sumarc wrote: > > Hi, > > > I'm a newbi

[Puppet Users] importing a new custom type

2010-08-25 Thread Nat
Hi, I need the capability have an enable repo in my package type, as described in http://projects.reductivelabs.com/issues/2247 However, I don't this this will get implemented soon. As such I have done the following I copied the yum.rb and package.rb from the standard location into a custom mo

Re: [Puppet Users] Re: How to start using Puppet

2010-08-25 Thread Patrick
On Aug 25, 2010, at 2:25 PM, sumarc wrote: > Thx James, > > I've checked out those pages, but to be honest I'm still a bit > confused. > > One of the pages mentions to test Puppet locally (without server and > client), how do I do this? Is there a doc for this too? > I find that not using a s

[Puppet Users] puppet error in component.rb

2010-08-25 Thread Charles Yeomans
I am implementing a scheme to manage our server configuration using Puppet + git + rsync. I run Puppet on nodes as a cron job, and I am getting errors as follows. /usr/local/lib/site_ruby/1.8/puppet/type/component.rb:4: [BUG] terminated node (0xb77054c4) ruby 1.8.7 (2010-01-10 patchlevel

[Puppet Users] Re: Graphviz Error

2010-08-25 Thread Sven Sporer
Line 1: % cat resources.dot | head -1 digraph Resources { When "view"ing the file, everything in there seems to be valid digraph syntax. I don't think it's Puppets fault, it looks like it's an error with my graphviz package (SLES 10 64bit; installed via zypper). I guess I have to dig a little de

[Puppet Users]RPM Provider broken?

2010-08-25 Thread Christian Casar
Hey, I'm running Puppet 2.6.0 and somehow I can't really use the rpm provider like I was used to in previous versions. This is what my manifest looks like: file { "/tmp/apache2-mod_security2-2.5.9-6.2.x86_64.rpm": ensure => present, owner => "root",

Re: [Puppet Users]RPM Provider broken?

2010-08-25 Thread Jeff McCune
On Wed, Aug 25, 2010 at 11:47 PM, Christian Casar wrote: > Hey, > I'm running Puppet 2.6.0 and somehow I can't really use the rpm > provider like I was used to in previous versions. > This is what my manifest looks like: [snip] >        package { "mod_security2": >                ensure   => pre