[Puppet Users] quoting special characters in puppet.conf

2010-08-24 Thread Amos Shapira
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 tries to interpolate the $Id and fails. How can I quote the '$'

Re: [Puppet Users] Neverending Scope Issues

2010-08-24 Thread Jeff McCune
On Sat, Aug 21, 2010 at 7:15 PM, Douglas Garstang wrote: > > How can I do this? class software::application { $appvarN = $::software::application_parameters::appvarN } However, if you actually want to set the values externally, you're probably better off setting them in your external node clas

[Puppet Users] ANNOUNCE: Puppet 2.6.1 - Release Candidate 3 available!

2010-08-24 Thread James Turnbull
In the long Puppet tradition of fast releases and agile iteration comes the 2.6.1 release! The third release candidate is now available and is a maintenance release in the 2.6.x branch. It contains a number of functional and performance enhancements including preliminary support for running Puppe

[Puppet Users] Re: Could not request certificate: Neither PUB key nor PRIV key

2010-08-24 Thread Douglas Garstang
Arrgh. The clock on the client was 24 hours slow. But... I wonder why that happens when the certificate is valid from Validity Not Before: Jul 13 13:51:08 2010 GMT Not After : Jul 12 13:51:08 2015 GMT Doug. On Tue, Aug 24, 2010 at 6:22 PM, Douglas Garstang wrote:

[Puppet Users] Could not request certificate: Neither PUB key nor PRIV key

2010-08-24 Thread Douglas Garstang
Oh my god what is this? Getting this on first boot of new client. Aug 24 01:11:09 app03 puppet-agent[5392]: Reopening log files Aug 24 01:11:09 app03 puppet-agent[5392]: Could not request certificate: Neither PUB key nor PRIV key:: header too long I stop the client, and remove the ssl directo

Re: [Puppet Users] How to start using Puppet

2010-08-24 Thread James Turnbull
sumarc wrote: > Hi, > > I'm a newbie, just installed Puppetmaster and puppet in the same > server. > > my questions are: > 1. how do I check the node is connected to the server? > 2. is there a documentation that explain the commands? > > > Please help. > Hi there. The best place to start is

[Puppet Users] How to start using Puppet

2010-08-24 Thread sumarc
Hi, I'm a newbie, just installed Puppetmaster and puppet in the same server. my questions are: 1. how do I check the node is connected to the server? 2. is there a documentation that explain the commands? Please help. -- You received this message because you are subscribed to the Google Group

[Puppet Users] Re: trying to start puppetmasterd for the first time - but it only spits out the config file for the master and exits

2010-08-24 Thread JL
yeah. that was it. thanks :P On Aug 24, 12:29 pm, Nigel Kersten wrote: > do you have genconfig = true in your config file? > > > > > > On Tue, Aug 24, 2010 at 6:11 AM, JL wrote: > > Trying to get puppet running - ran through the ruby setup.rb. > > Now, when trying to fire up puppetmasterd for t

Re: [Puppet Users] Language Feature by Release table

2010-08-24 Thread Brice Figureau
On 24/08/10 08:36, James Turnbull wrote: > Hi all > > We've added a Language Feature by Release table to the Language Tutorial. > > http://docs.puppetlabs.com/guides/language_tutorial.html > > Please feel free to suggest additions to this or other suggestions. About the things I contributed in

Re: [Puppet Users] Language Feature by Release table

2010-08-24 Thread James Turnbull
Mike Pountney wrote: > > Fantastic idea, thanks. > > It would be smashing if the feature titles linked to usage information (both > syntactic and use-case, if applicable) > > Can do - that's planned for my next update. Thanks James -- Puppet Labs - http://www.puppetlabs.com C: 503-734-85

Re: [Puppet Users] Language Feature by Release table

2010-08-24 Thread Mike Pountney
On 24 Aug 2010, at 07:36, James Turnbull wrote: > Hi all > > We've added a Language Feature by Release table to the Language Tutorial. > > http://docs.puppetlabs.com/guides/language_tutorial.html > > Please feel free to suggest additions to this or other suggestions. > Fantastic idea, than

Re: [Puppet Users] Re: How to change the node's class or groups

2010-08-24 Thread Igal Koshevoy
Timo, Thanks for the details. So if you type the name of a known class or group into a class or group UI field in Firefox, nothing happens? I primarily use Firefox on Linux and it works for me, although the tags are rendered incorrectly, like this: http://projects.puppetlabs.com/attachments/1092

Re: [Puppet Users] Language Feature by Release table

2010-08-24 Thread James Turnbull
Patrick wrote: > On Aug 23, 2010, at 11:36 PM, James Turnbull wrote: > >> Hi all >> >> We've added a Language Feature by Release table to the Language Tutorial. >> >> http://docs.puppetlabs.com/guides/language_tutorial.html >> >> Please feel free to suggest additions to this or other suggestions.

Re: [Puppet Users] trying to start puppetmasterd for the first time - but it only spits out the config file for the master and exits

2010-08-24 Thread Nigel Kersten
do you have genconfig = true in your config file? On Tue, Aug 24, 2010 at 6:11 AM, JL wrote: > Trying to get puppet running - ran through the ruby setup.rb. > Now, when trying to fire up puppetmasterd for the first time (and I > have a bare-bones /etc/puppet/manifests/site.pp in place) it spits

[Puppet Users] trying to start puppetmasterd for the first time - but it only spits out the config file for the master and exits

2010-08-24 Thread JL
Trying to get puppet running - ran through the ruby setup.rb. Now, when trying to fire up puppetmasterd for the first time (and I have a bare-bones /etc/puppet/manifests/site.pp in place) it spits out the following... root@:/opt/local/sbin> puppetmasterd # The configuration file for master. Not

[Puppet Users] Re: Frequent "Could not retrieve file metadata" errors

2010-08-24 Thread Tim
I followed the instructions here: http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Scalability I'll see how it goes over the next few days -- 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.

[Puppet Users] Re: Augeas Documentation

2010-08-24 Thread Erinn Looney-Triggs
Let me just say thank you for this, I was dealing with the issue of a line getting added every time this morning and was just about to post up a request for some help when your documentation came along with the solution. Thank you again for putting this together. -Erinn On Aug 23, 9:17 am, Rob M

[Puppet Users] Re: Puppetd Cron Not Running

2010-08-24 Thread Franck
Yes, I did take that into account when using the original function's implementation. But the issue wasn't residing with that, rather one the puppet clients is not executing through cron. On Aug 24, 5:43 am, Ohad Levy wrote: > Another options which I've used successfully in the past > is:http://

[Puppet Users] Re: Puppetd Cron Not Running

2010-08-24 Thread Franck
Thanks for that tip Daniel. I went ahead and switched to use the "fqdn_rand" function as it's a lot more consistent which is what I wanted. I'm new to Puppet so I'm still learning some of the functions that can be used. On Aug 23, 7:54 pm, Daniel Pittman wrote: > Franck writes: > > So I've decid

[Puppet Users] Re: Parsing yaml report locallly

2010-08-24 Thread Chris
Thank you for your suggestion, we would have to get the permission for an extra open port on our firewalls. That will take some time, so I will probably go with Tims proposal On 22 Aug., 16:20, "Carl.caum" wrote: > You could always have a script that queries the puppetmaster or whatever your > r

[Puppet Users] Re: Parsing yaml report locallly

2010-08-24 Thread Chris
True, this seems to be the easiest way to do it. Thanks On 23 Aug., 00:59, Tim Sharpe wrote: > Puppet logs to syslog so why not setup an alias that just runs "grep > puppet /var/log/messages".  The log file may differ between > distributions (daemon.log for Debian), but this generally suffices fo

[Puppet Users] Re: Parsing yaml report locallly

2010-08-24 Thread Chris
Thanks, I saw that the request was accepted. So there will be solution in the future -- 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

Re: [Puppet Users] Puppetd Cron Not Running

2010-08-24 Thread Ohad Levy
On Tue, Aug 24, 2010 at 3:29 PM, Daniel Pittman wrote: > Ohad Levy writes: > > > Another options which I've used successfully in the past is: > > http://projects.puppetlabs.com/projects/puppet/wiki/Cron_Patterns - see > the > > section title: Setting Cron using a Puppet custom function > > > > O

Re: [Puppet Users] Puppetd Cron Not Running

2010-08-24 Thread Daniel Pittman
Ohad Levy writes: > Another options which I've used successfully in the past is: > http://projects.puppetlabs.com/projects/puppet/wiki/Cron_Patterns - see the > section title: Setting Cron using a Puppet custom function > > One important thing to note is that when you get a random value, puppet w

Re: [Puppet Users] Puppetd Cron Not Running

2010-08-24 Thread Aurelien Degremont
As puppet will change the cron object at each run, use something that is different per machine, but the same for the same machine:its IP. Use ipaddress fact. Here two ideas to get this value # Get the last IP digit $digits = split($ipaddress) # Modulo 60 $minute = inline_template("<%= d

[Puppet Users] Re: puppetrun failing with Error 403?

2010-08-24 Thread matonb
Hi Patrick, I figured it out by adding --verbose when starting the client listener. Turns out I had to add the puppetmaster to auth.conf. I'm sure that it's probably documented somewhere. Be damned if I could find anything useful on "kick" though. Thanks, for your help all the same. On Aug

Re: [Puppet Users] Problem with directory serving while testing 2.6.0

2010-08-24 Thread Jean-Baptiste Quenot
Works great now, however after deploying 2.6.1rc2 to production I noticed the agents where not applying any configuration. I had to change permissions on the server as puppet master now runs with puppet user instead of root. Is that a known change? Or is it a change in the debian package? I can

Re: [Puppet Users] Puppetd Cron Not Running

2010-08-24 Thread Ohad Levy
Another options which I've used successfully in the past is: http://projects.puppetlabs.com/projects/puppet/wiki/Cron_Patterns - see the section title: Setting Cron using a Puppet custom function One important thing to note is that when you get a random value, puppet will change it on each puppet

Re: [Puppet Users] Problem with directory serving while testing 2.6.0

2010-08-24 Thread Jean-Baptiste Quenot
OK I understand your point: irb(main):001:0> File.expand_path('/home/jbq/system/.') => "/home/jbq/system" Maybe Puppet should compare canonical paths, i.e. convert paths found in config file to canonical paths upon startup... -- Jean-Baptiste Quenot -- You received this message because you are

Re: [Puppet Users] Problem with directory serving while testing 2.6.0

2010-08-24 Thread Brice Figureau
On Tue, 2010-08-24 at 10:40 +0200, Jean-Baptiste Quenot wrote: > No luck with 2.6.1rc2: > > err: /Stage[main]/Webserver/File[/var/www/company.com/html]: Failed to > generate additional resources using 'eval_generate': Error 400 on > SERVER: Fileset paths must be fully qualified [snippe] > $ cat fi

Re: [Puppet Users] Problem with directory serving while testing 2.6.0

2010-08-24 Thread Jean-Baptiste Quenot
No luck with 2.6.1rc2: err: /Stage[main]/Webserver/File[/var/www/company.com/html]: Failed to generate additional resources using 'eval_generate': Error 400 on SERVER: Fileset paths must be fully qualified Here's how I run Puppet for testing (works great with 0.24.8): #! /bin/sh -e SERVERHOST=$

[Puppet Users] Re: puppetrun failing with Error 403?

2010-08-24 Thread matonb
Error messages have changed slightly (not sure when though) I didn't notice the Denying access before: Aug 24 09:31:26 puppet-agent[6724]: Denying access: Forbidden request: my_fqdn_puppetmaster(192.168.x.x) access to /run/my_fqdn_host [save] authenticated at line 93 Aug 24 09:31:26 puppet-agent

[Puppet Users] Re: puppetrun failing with Error 403?

2010-08-24 Thread matonb
Sigh, Still a no-go. I tried adding a [kick] section to namespaceauth.conf and then with one in puppet.conf. Niether worked, still getting the 403 forbidden message On Aug 23, 8:05 pm, matonb wrote: > I'll give it ago in the morning, fingers crossed :-) > > On Aug 23, 5:26 pm, Patrick

Re: [Puppet Users] Tag usage question

2010-08-24 Thread Daniel Pittman
Jean Baptiste FAVRE writes: > Hello, Seems I wasn't clear enough ;-) Well, or I wasn't smart enough. ;) [...] > While performing some tests, I figure out that, for one node, one of the > package (let's call it package_A) I removed in first step is re-installed > because of dependency. > > I'm

Re: [Puppet Users] Language Feature by Release table

2010-08-24 Thread Patrick
On Aug 23, 2010, at 11:36 PM, James Turnbull wrote: > Hi all > > We've added a Language Feature by Release table to the Language Tutorial. > > http://docs.puppetlabs.com/guides/language_tutorial.html > > Please feel free to suggest additions to this or other suggestions. > > Thanks > > James

Re: [Puppet Users] Tag usage question

2010-08-24 Thread Jean Baptiste FAVRE
Hello, Seems I wasn't clear enough ;-) I defined few steps in puppet configuration. - The first one will be executed at the end of installation. It mainly consist in packages removal and is called "bootstrap". - The other ones will be executed after and consist in all other operations. While p