[Puppet Users] Re: Puppet Camp

2009-09-09 Thread Al @ Lab42
So, it seems that a bunch of puppetmasters will be roaming around SF waiting for the Camp. I suppose we can arrange a meeting at least the evening of 30 September, but also earlier for somebody. We can define here a meeting place & hour in a sensible, recognizable, place, and then move to a resta

[Puppet Users] Configuring DRBD

2009-09-09 Thread Amos Shapira
Hello, Does anyone here have a module to configure DRBD (http:// www.drbd.org/) using puppet? It's not supposed to be too complicated, but I'd rather not re-invent this wheel if possible. The module should probably allow passing all the parameters available in drbd.conf, and/or possibly allow q

[Puppet Users] Re: Mac OS X pkgdmg provider "upgradeable"

2009-09-09 Thread grandpa
Heh. For some reason this never occurred to me. Simple enough and wasnt very hard to move to. Thanks Nigel! On 9 Sep, 01:47, Nigel Kersten wrote: >   $facter_package = "facter-1.5.4.dmg" >   $puppet_package = "puppet-0.24.8-p20090805.dmg" > >   package { "$facter_package": >     ensure   => ins

[Puppet Users] Re: upgrading from 0.24 to 0.25 from tar.gz

2009-09-09 Thread RNHurt
On Sep 8, 9:13 am, Matt wrote: > Has anyone done an upgrade script to upgrade from 0.24 to 0.25? > > I usually just run ruby install.rb to install from the tar ball, but > notice that quite a bit has changed with the 0.25 release and know > that much of the 0.24 stuff will still be hanging around

[Puppet Users] Re: Puppet 0.25.0 release - EPEL?

2009-09-09 Thread Larry Ludwig
On Sep 8, 2009, at 7:37 PM, Todd Zullinger wrote: > Marziani, Michael wrote: >> Any idea how quickly we'll see this in EPEL? > > In addition to the link Larry posted for unofficial Fedora/EPEL > packages¹, I'd say we probably shouldn't rush this into the EPEL > repos. It's a large change and it

[Puppet Users] Re: Puppetmaster be client of another puppetmaster?

2009-09-09 Thread jcbollinger
On Sep 8, 9:01 pm, Ohad Levy wrote: > Yes, its possible :) > > but that would mean a CA chain, and eventually that each client can query > all puppetmasters (which I'm not sure this is what you are looking for in). I'm not sure I quite follow the logic there. Is the theory that the the interm

[Puppet Users] Errors after upgrade to 0.25.0

2009-09-09 Thread Martin Englund
After upgrading one of our puppetmasters to 0.25.0 we get the following errors on the client (also running 0.25.0): err: /File[/var/puppet/lib]: Failed to generate additional resources using 'eval_generate': Error 403 on SERVER: Forbidden request: lab- git2.SFBay.Sun.COM(10.6.48.12) access to /fil

[Puppet Users] Re: Puppetmaster be client of another puppetmaster?

2009-09-09 Thread Ohad Levy
On Wed, Sep 9, 2009 at 9:11 PM, jcbollinger wrote: > > > > On Sep 8, 9:01 pm, Ohad Levy wrote: > > Yes, its possible :) > > > > but that would mean a CA chain, and eventually that each client can query > > all puppetmasters (which I'm not sure this is what you are looking for > in). > > I'm not s

[Puppet Users] Announcement: new web interface for puppet and more

2009-09-09 Thread Ohad Levy
Hello All, I'm happy to announce The Foreman - *Single Address For All Machines Life Cycle Management! Taken from from its website http://theforeman.org * Foreman integrates with Puppet (and acts as web front end to it). Foreman takes care of bare bone

[Puppet Users] Re: Announcement: new web interface for puppet and more

2009-09-09 Thread Al @ Lab42
Seems a much better name than the earlier one :-) I wanted to write something similar (in php, the only language I know) but this is one more good reason not to start with it ... Looking forward to talk about it at the camp Alessandro Franceschi Lab42 --~--~-~--~~~---

[Puppet Users] Re: upgrading from 0.24 to 0.25 from tar.gz

2009-09-09 Thread Matt
Yep I was talking about the puppet binaries not the manifests/recipes/modules 2009/9/9 RNHurt : > > On Sep 8, 9:13 am, Matt wrote: >> Has anyone done an upgrade script to upgrade from 0.24 to 0.25? >> >> I usually just run ruby install.rb to install from the tar ball, but >> notice that quite a

[Puppet Users] puppet 0.25 client on xen / EC2

2009-09-09 Thread Matt
Trying to get an EC2 AMI running puppet 0.25 and i'm hitting a problem. After installing the rpms and starting puppet it was just quitting with only: puppetd[3313]: Reopening log files In the log file. When running it with the following I get some more output. -bash-3.1# puppetd -D -d -t --tr

[Puppet Users] Re: upgrading from 0.24 to 0.25 from tar.gz

2009-09-09 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt wrote: > Yep I was talking about the puppet binaries not the manifests/recipes/modules > As I said in a previous email - delete the old before you install the new. Regards James Turnbull - -- Author of: * Pro Linux Systems Administration (ht

[Puppet Users] Re: Puppet 0.25 migration

2009-09-09 Thread Matt
Reverting back to the passenger 2.2.2 gem worked for me. 2009/9/8 Larry Ludwig : > > hmm passenger 2.2.5 is released?  hmm I'll have to test it out. > > -L > > -- > Larry Ludwig > Reductive Labs > > > > > --~--~-~--~~~---~--~~ You received this message because you

[Puppet Users] Re: upgrading from 0.24 to 0.25 from tar.gz

2009-09-09 Thread Matt
Yes. I took your suggestion and moved over to the rpms provided, was only reluctant at first as the ruby-augeas/shadow and augeas-libs weren't in our repo, but they are easily sourced. I've got the 0.25 master working now and talking to 0.25/24 clients. Only issue I have left is getting 0.25 vers

[Puppet Users] Apache load balancing problem with 0.25.0

2009-09-09 Thread Martin Englund
Here's another problem which I ran into today: When running puppetd with a puppetmaster which is 6 mongrel instances load balanced with apache, I get: /usr/ops/lib/ruby/site_ruby/1.8/puppet/network/format_handler.rb:87:in `format_to_canonical_name': No format match the given format name or mime-t

[Puppet Users] Activerecord and 0.25 issues

2009-09-09 Thread Allan Marcus
hello, I have puppetmasterd working just fine on Mac OS X server 10.6. I updated to 0.25.0 and now when I try to start puppetmasterd I get an error about ActiveRecord. If I'm reading the gem list command correctly, I have > 2.1 installed. Any ideas? bash-3.2# puppetmasterd --no-daemonize

[Puppet Users] Re: Puppetmaster be client of another puppetmaster?

2009-09-09 Thread Allan Marcus
on my puppetmaster server I have an extra dir: /etc/puppet/client In the /etc/puppet/puppet.conf I have a section for the client: [puppetd] server = puppet.mycompany.com # do not change this since this machine is the server factsync = false # Where SSL certificates are kept

[Puppet Users] Re: Puppet 0.25 migration

2009-09-09 Thread jrojas
I am seeing this problem as well. Reverting from 2.2.5 to 2.2.2 did not help. On Sep 9, 9:12 am, Matt wrote: > Reverting back to the passenger 2.2.2 gem worked for me. > > 2009/9/8 Larry Ludwig : > > > > > hmm passenger 2.2.5 is released?  hmm I'll have to test it out. > > > -L > > > -- > > Lar

[Puppet Users] Re: Puppetmaster be client of another puppetmaster?

2009-09-09 Thread Paul Lathrop
Wow, the other respondents made this somewhat complicated. I do this right now. Our "development" puppetmaster handles a bunch of machines, but it itself is managed by our "production" puppetmaster. We didn't do all this certificate juggling. The development puppetmaster (puppet.dev.internal) ha

[Puppet Users] Re: Activerecord and 0.25 issues

2009-09-09 Thread Todd Zullinger
Allan Marcus wrote: > I have puppetmasterd working just fine on Mac OS X server 10.6. I > updated to 0.25.0 and now when I try to start puppetmasterd I get an > error about ActiveRecord. If I'm reading the gem list command > correctly, I have > 2.1 installed. Any ideas? I think you are being bitte

[Puppet Users] Re: Puppetmaster be client of another puppetmaster?

2009-09-09 Thread Keith Edmunds
On Wed, 9 Sep 2009 11:33:21 -0700, paul.lath...@gmail.com said: > The development > puppetmaster (puppet.dev.internal) has server = puppet.prod.internal > in it's puppet.conf, while the machines that point to the development > puppetmaster all have server = puppet.dev.internal in their > puppet.c

[Puppet Users] Re: Activerecord and 0.25 issues

2009-09-09 Thread Allan Marcus
thanks. Looks like the answer is to update Active record to 2.3 or better. --- Thanks, Allan Marcus 505-667-5666 On Sep 9, 2009, at 12:41 PM, Todd Zullinger wrote: > Allan Marcus wrote: >> I have puppetmasterd working just fine on Mac OS X server 10.6. I >> updated to 0.25.0 and now when I

[Puppet Users] Re: Activerecord and 0.25 issues

2009-09-09 Thread Allan Marcus
Ug. I updated ActiveRecord and now I get a new error (see below). any ideas? --- Thanks, Allan Marcus 505-667-5666 bash-3.2# gem list *** LOCAL GEMS *** actionmailer (2.2.2, 1.3.6) actionpack (2.2.2, 1.13.6) actionwebservice (1.2.6) activerecord (2.3.4, 2.2.2, 1.15.6) activeresource (2.

[Puppet Users] Re: Activerecord and 0.25 issues

2009-09-09 Thread Allan Marcus
More info. I see the following in /var/log/system.log: Sep 9 13:44:29 puppet-dev puppetmasterd[46746]: Could not create resources for managing Puppet's files and directories in sections [:main, :puppetmasterd, :ssl]: undefined local variable or method `x' for main:Object Sep 9 13:44:29 pup

[Puppet Users] apache2-prefork-dev and apache2-threaded-dev

2009-09-09 Thread Asif Iqbal
Hi I am using puppet 0.24.8 with passenger 2.2.2. and apache2 on ubuntu 9.04 I notice http://github.com/reductivelabs/puppet/tree/master/ext/rack 's manifest.pp suggests to install `apache2-threaded-dev' for puppet 0.25. Can I install it as well while running puppet 0.24.8? If yes, ubuntu force

[Puppet Users] Re: Apache load balancing problem with 0.25.0

2009-09-09 Thread martin
On Sep 9, 5:35 pm, Martin Englund wrote: > Inspecting the code where it fails makes me scratch my head (code > included at the bottom). The variable "format" is, according to the > error message, "text/html" - but that should have matched then when > clause "%r{\w+/\w+}". > I'm one step closer:

[Puppet Users] Re: apache2-prefork-dev and apache2-threaded-dev

2009-09-09 Thread Russ Allbery
Asif Iqbal writes: > I am using puppet 0.24.8 with passenger 2.2.2. and apache2 on ubuntu 9.04 > I notice http://github.com/reductivelabs/puppet/tree/master/ext/rack > 's manifest.pp > suggests to install `apache2-threaded-dev' for puppet 0.25. > Can I install it as well while running puppet 0

[Puppet Users] Emitting warnings in a custom function.

2009-09-09 Thread Trevor Vaughan
All, I apologize for asking the question since I know I've done this before, but...does anyone know how to emit warnings in a custom function? I tried Puppet.warning, but that didn't appear to print a warning message anywhere. Thanks, Trevor --~--~-~--~~~---~--~---

[Puppet Users] Re: apache2-prefork-dev and apache2-threaded-dev

2009-09-09 Thread Asif Iqbal
On Wed, Sep 9, 2009 at 4:23 PM, Russ Allbery wrote: > > Asif Iqbal writes: > >> I am using puppet 0.24.8 with passenger 2.2.2. and apache2 on ubuntu 9.04 > >> I notice http://github.com/reductivelabs/puppet/tree/master/ext/rack >> 's manifest.pp >> suggests to install `apache2-threaded-dev' for

[Puppet Users] Re: Puppet 0.25 migration

2009-09-09 Thread Pete Emerson
I'm seeing this as well, and have some info that may be useful. For me the problem happens whether I use passenger-2.2.5, passenger-2.2.2, or the puppetmasterd daemon directly. I started with exactly the auth.conf from here: http://github.com/reductivelabs/puppet/blob/c2e26b9bb28ebcb8e07822015f9

[Puppet Users] Re: Activerecord and 0.25 issues

2009-09-09 Thread Luke Kanies
Can we get a stack trace for that? If you start puppetmasterd with -- no-daemonize --trace, you should get stack traces on stdout. On Sep 9, 2009, at 12:47 PM, Allan Marcus wrote: > > More info. I see the following in /var/log/system.log: > > Sep 9 13:44:29 puppet-dev puppetmasterd[46746]: >

[Puppet Users] Re: new require function for 0.25

2009-09-09 Thread Luke Kanies
On Sep 7, 2009, at 1:47 AM, Matt wrote: > > I noticed the require 'class' function has made 0.25. I've been > having some issues appending to arrays (order of execution I believe) > and wondered if this would now work - > > node 'a' { > include webserver, database, stats > > # stats.pp > $mystat

[Puppet Users] Re: scheduling refresh when set to noop

2009-09-09 Thread Luke Kanies
On Sep 2, 2009, at 3:55 AM, Dan Bode wrote: > Hi all, > > I have encountered some that I dont quite understand. > > I am trying to parse log messages to create summaries, and I have > seen an event that I do not understand. > > (//Node[default]/base/syslog/syslog::base/File[syslog.conf]/content

[Puppet Users] Re: a compliment: the plugin system

2009-09-09 Thread Luke Kanies
On Sep 4, 2009, at 10:52 AM, Robin Lee Powell wrote: > > > Just had my first occassion to make a custom fact with > http://reductivelabs.com/trac/puppet/wiki/PluginsInModules > > That is some excellent stuff there! > > Custom facts used to be much harder. > > Thanks, whoever did that. Glad to he

[Puppet Users] Re: /etc puppet or some of the directories can't be symlinks.

2009-09-09 Thread Luke Kanies
On Sep 6, 2009, at 3:59 PM, Tim Uckun wrote: > > For development purposes I have set up /etc/puppet to be a symlink to > /home/me/puppet/etc. > > Every time I run puppetmasterd the link id destroyes and the directory > gets created from scratch. > > This also happens if I create a /etc/puppet and

[Puppet Users] Re: reporting and err tag. [was Silent failure]

2009-09-09 Thread Luke Kanies
On Sep 6, 2009, at 7:42 PM, Tim Uckun wrote: > >>> >> As long as you are on a recent version there is an 'err' tag, which >> you >> can use in conjunction with tagmail to mail you any errors. I send >> mine >> to a distribution group that ends up going to my team mates. >> > > I am trying to

[Puppet Users] Re: classes param avaible at compile time?

2009-09-09 Thread Luke Kanies
On Sep 8, 2009, at 6:29 AM, Dan Bode wrote: > is the classes section from Puppet::Node accessible at parse time? > > example: > > from yaml/node/supercoolmanchine.super.cool.place.yaml > > classes: > - workstation > - httpd > - dev > > can I access this list from within puppet manifests? Hmm. N

[Puppet Users] Re: puppetca issues after moving to mongrel

2009-09-09 Thread Luke Kanies
On Sep 8, 2009, at 11:30 AM, Ian Cottee wrote: > I've been running puppet for nearly two years. As the number of > clients have expanded so performance has eroded. I've done stop gaps > solutions such as creating two puppet masters and feeding a > fileserver off one of them and reducing the

[Puppet Users] Re: problems with log files

2009-09-09 Thread Luke Kanies
On Sep 8, 2009, at 9:09 PM, Matt Delves wrote: > > Hey Folks, > I've just migrated from 0.24.8 to 0.25.0 and I'm finding that the > logfiles aren't being updated promptly. If I restart the puppet-server > service it dumps the logs then though only intermittently. > > Is this a known problem? The

[Puppet Users] Re: Errors after upgrade to 0.25.0

2009-09-09 Thread Greg
Have you looked at the new auth.conf file? Chances are you need to put one into your /etc/puppet directory... Theres a sample one in the source code bundle. Greg On Sep 10, 12:31 am, Martin Englund wrote: > After upgrading one of our puppetmasters to 0.25.0 we get the > following errors on the

[Puppet Users] Re: Puppet Camp

2009-09-09 Thread Luke Kanies
On Sep 9, 2009, at 1:05 AM, Al @ Lab42 wrote: > > So, > it seems that a bunch of puppetmasters will be roaming around SF > waiting for the Camp. > I suppose we can arrange a meeting at least the evening of 30 > September, but also earlier for somebody. > > We can define here a meeting place & hou

[Puppet Users] Re: Emitting warnings in a custom function.

2009-09-09 Thread Luke Kanies
On Sep 9, 2009, at 1:41 PM, Trevor Vaughan wrote: > > All, > > I apologize for asking the question since I know I've done this > before, but...does anyone know how to emit warnings in a custom > function? > > I tried Puppet.warning, but that didn't appear to print a warning > message anywhere. I

[Puppet Users] Re: Puppet 0.25 migration

2009-09-09 Thread Luke Kanies
Can you file this as a bug, and add all of this logging data to it? On Sep 9, 2009, at 3:58 PM, Pete Emerson wrote: > > I'm seeing this as well, and have some info that may be useful. For me > the problem happens whether I use passenger-2.2.5, passenger-2.2.2, or > the puppetmasterd daemon direc

[Puppet Users] Re: Puppet 0.25 migration

2009-09-09 Thread Pete Emerson
Done. The issue is now posted here, and I added --trace to my puppetmasterd arguments to provide more info. http://projects.reductivelabs.com/issues/2620 Pete On Wed, Sep 9, 2009 at 4:29 PM, Luke Kanies wrote: > > Can you file this as a bug, and add all of this logging data to it? > > On Sep 9

[Puppet Users] passenger with ruby enterprise edition

2009-09-09 Thread Asif Iqbal
Hi I am failing to start apache2 with ruby enterprise edition and passenger 2.2.5 [Wed Sep 09 17:38:20 2009] [notice] Apache/2.2.11 (Ubuntu) mod_ssl/2.2.11 OpenSSL/0.9.8g Phusion_Passenger/2.2.5 configured -- resuming normal operations *** Exception LoadError in PhusionPassenger::Rack::Applicatio

[Puppet Users] Can puppet handle device files

2009-09-09 Thread Bostjan Skufca
Hi! I cannot find it in documentation (yet?), but can puppet handle device files, in (examplary) form like this: file { "/var/named/dev/zero": ensure => device, minor => 10, major => 20, } Can this be done or do I have to create my own type handlers? Thanks,

[Puppet Users] Re: passenger with ruby enterprise edition

2009-09-09 Thread Jason Rojas
On Sep 9, 2009, at 6:27 PM, Asif Iqbal wrote: > > Hi I am failing to start apache2 with ruby enterprise edition and > passenger 2.2.5 > > [Wed Sep 09 17:38:20 2009] [notice] Apache/2.2.11 (Ubuntu) > mod_ssl/2.2.11 OpenSSL/0.9.8g Phusion_Passenger/2.2.5 configured -- > resuming normal operations

[Puppet Users] Re: passenger with ruby enterprise edition

2009-09-09 Thread Ohad Levy
You cant build puppet, its written in ruby! but probably puppet is installed in the wrong directory, try linking up the directory from where puppet is now to the same relative directory under /opt/ruby-enterprise... Ohad On Thu, Sep 10, 2009 at 10:16 AM, Jason Rojas wrote: > > > > On Sep 9, 2009

[Puppet Users] Re: reporting and err tag. [was Silent failure]

2009-09-09 Thread Tim Uckun
> I'm still a little confused, though -- how do you know you're getting > an error if you're not getting any error reports anywhere? I am running the puppetmaster and the puppet non deamonized. In any case I have developed a workaround for this problem by calling the --compile on all my nodes in

[Puppet Users] Re: /etc puppet or some of the directories can't be symlinks.

2009-09-09 Thread Tim Uckun
> > Is this really that big of a deal?  You can use puppet.conf to > configure where the directories will be, so at worst you have a single > file in /etc/puppet/puppet.conf, or you can start your daemons with -- > config /my/puppet.conf. No it's not a big deal and I have done just that. I just

[Puppet Users] New 2.5 gem does not create entries into /usr/sbin

2009-09-09 Thread Tim Uckun
Just a heads up. If you do a gem install puppet it does not create the entries into the proper directories. Running install.rb from the tar file does. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users"

[Puppet Users] Re: New 2.5 gem does not create entries into /usr/sbin

2009-09-09 Thread James Turnbull
2009/9/10 Tim Uckun : > > Just a heads up. > > If you do a gem install puppet it does not create the entries into the > proper directories. > > Running install.rb from the tar file does. There is a problem with how Gems handle binaries - Puppet has binaries in the bin and sbin directories in line

[Puppet Users] Re: Can puppet handle device files

2009-09-09 Thread James Turnbull
2009/9/10 Bostjan Skufca : > > Hi! > > I cannot find it in documentation (yet?), but can puppet handle device > files, in (examplary) form like this: > > file { "/var/named/dev/zero": >        ensure   => device, >        minor     => 10, >        major     => 20, >  } > > Can this be done or do I

[Puppet Users] Re: Puppet Camp

2009-09-09 Thread James Turnbull
2009/9/10 Luke Kanies : > > On Sep 9, 2009, at 1:05 AM, Al @ Lab42 wrote: > >> > Irish Bank - good pub, central location > Rye - great cocktail bar > Bourbon and Branch - even greater cocktail bar, but you *have* to make > reservations - they give you a password and you can't get in without it > T

[Puppet Users] Re: New 2.5 gem does not create entries into /usr/sbin

2009-09-09 Thread Tim Uckun
> > There is a problem with how Gems handle binaries - Puppet has binaries > in the bin and sbin directories in line with the FHS.  Gems do not > understand the concept of a binary directory other than "bindir" > (usually "bin").  So binaries in the sbin directory are not installed. >  I am workin

[Puppet Users] Re: Puppetmaster be client of another puppetmaster?

2009-09-09 Thread Paul Lathrop
On Wed, Sep 9, 2009 at 11:47 AM, Keith Edmunds wrote: > > On Wed, 9 Sep 2009 11:33:21 -0700, paul.lath...@gmail.com said: > >> The development >> puppetmaster (puppet.dev.internal) has server = puppet.prod.internal >> in it's puppet.conf, while the machines that point to the development >> puppetm