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

2010-09-07 Thread James Turnbull
In the long Puppet tradition of fast releases and agile iteration comes the 2.6.1 release! The fourth (and hopefully final!) 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

Re: [Puppet Users] SSLVerifyClient required with Apache+Mongrel

2010-09-07 Thread Thomas Guthmann
Hi, There is no (real) point of using SSLVerifyClient Require... I encountered the same problem when I started to use Puppet (2.6.0). When you have no real knowledge about Puppet, it takes some time to understand the whole shebang and it's even more confusing when the documentation tend to

[Puppet Users] API: Get a list of servers that include a certain module/class

2010-09-07 Thread phred
Hi there Is there a possibility to get all servers via API that e.g. have import production whereas production is a module/class. I want to use that host list for doing push deployments - something that needs to be live immediately. Greets Philipp -- You received this message because you are

Re: [Puppet Users] SSLVerifyClient required with Apache+Mongrel

2010-09-07 Thread Héctor Rivas Gándara
So whoever can modify the wiki pages, do it. You will be seen as a hero for all the future puppet users coming ;) And thanks Héctor for asking, I wanted to send an email about that but I forgot, your email acted as a reminder ;) Actually I changed the wiki adding the comments of this thread :)

Re: [Puppet Users] Puppet + APT, I am lost...

2010-09-07 Thread Martijn Grendelman
Hi, But for this to work, the Puppet run needs to run aptitude update to pick up the new package name. Running the update periodically isn't enough, but running an update on every catalog run is just overkill. I understand your concern here, but have you done the timing tests? How long

Re: [Puppet Users] Puppet + APT, I am lost...

2010-09-07 Thread Héctor Rivas Gándara
For the past week, I have been trying to figure out the best way to do package management with Puppet on an Ubuntu system. I have studied many solutons I found on the web, but none of them seem to do exactly what I want. I am not sure if somebody proposed this already, but may be you can use

[Puppet Users] imports in puppet 2.6.0

2010-09-07 Thread Antony Mayi
Hi, with Puppet 0.25 I had following nested imports on subdirectories which just doesn't work in 2.6.0: directory structure nodes/country/colocation/environment/host in each directory a I have node.pp file and on its and is import */*.pp - it means import files from all subdirectories of this

Re: [Puppet Users] imports in puppet 2.6.0

2010-09-07 Thread Antony Mayi
actually the exact case when it doesn't work in deeper levels is when the subdirectory name is the same as parent directory - eg: nodes/country/ca/ca/environment and in in nodes/country/node.pp is import ca/* in nodes/country/ca is again import ca/* but the inner ca/* is never imported - if I

[Puppet Users] Module availability, loading order

2010-09-07 Thread Martijn Grendelman
Hi, I have create the following module: modules/foo `-- manifests |-- definitions | `-- line.pp `-- init.pp $ cat modules/foo/manifests/init.pp import definitions/*.pp $ cat modules/foo/manifests/definitions/line.pp define myline($file, $line, $ensure = 'present') { } I

Re: [Puppet Users] Module availability, loading order

2010-09-07 Thread R.I.Pienaar
hello, - Martijn Grendelman mart...@grendelman.net wrote: Hi, I have create the following module: modules/foo `-- manifests |-- definitions | `-- line.pp `-- init.pp $ cat modules/foo/manifests/init.pp import definitions/*.pp $ cat

Re: [Puppet Users] Module availability, loading order

2010-09-07 Thread Martijn Grendelman
On 07-09-10 14:41, R.I.Pienaar wrote: You define should be: define foo::myline { } and it should be in modules/foo/manifests/myline.pp Is the way I am trying to do things supposed to work? nope, What is the reason that this doesn't work? Is it an issue with loading order?

Re: [Puppet Users] Module availability, loading order

2010-09-07 Thread James Turnbull
Martijn Grendelman wrote: It's probably my own lack of brainpower, but I feel the Puppet documentation could use some more elaborate examples here and there. Patches welcomed! http://github.com/reductivelabs/puppet-docs Regards James Turnbull -- Puppet Labs - http://www.puppetlabs.com

[Puppet Users] Puppet job - Operations Engineer at analytics startup in San Francisco

2010-09-07 Thread Tim Trefren
Hi folks, I work at an analytics company (http://mixpanel.com) based in San Francisco that is looking to take our operations up a notch. We currently do automated integration testing with Hudson and deployment with Fabric, but we're looking for someone to help us automate further using Puppet.

[Puppet Users] Re: Could not parse configuration file: StoreConfigs not supported without ActiveRecord 2.1 or higher

2010-09-07 Thread Steve Neuharth
Gentoo. I'm using apache installed out of portage and then used gem/ passenger-install-apache2-module to install everything else. It seems like a path problem or something. I'm a relative ruby nuby so I'm not sure how to troubleshoot. On Sep 6, 8:09 pm, James Turnbull ja...@puppetlabs.com wrote:

Re: [Puppet Users] Errors in 2.6.1

2010-09-07 Thread Dan Urist
On Mon, 6 Sep 2010 16:52:05 -0700 Nigel Kersten nig...@google.com wrote: I've actually always considered this to be relatively comprehensible. Client and server start with a clean slate. Client requests module X Server parses module X via autoloading, complains about parse error. Client

Re: [Puppet Users] Errors in 2.6.1

2010-09-07 Thread Nigel Kersten
On Tue, Sep 7, 2010 at 7:47 AM, Dan Urist dur...@ucar.edu wrote: On Mon, 6 Sep 2010 16:52:05 -0700 Nigel Kersten nig...@google.com wrote: I've actually always considered this to be relatively comprehensible. Client and server start with a clean slate. Client requests module X Server

Re: [Puppet Users] Module availability, loading order

2010-09-07 Thread Martijn Grendelman
On 07-09-10 16:34, James Turnbull wrote: Martijn Grendelman wrote: It's probably my own lack of brainpower, but I feel the Puppet documentation could use some more elaborate examples here and there. Patches welcomed! http://github.com/reductivelabs/puppet-docs I had a feeling this was

Re: [Puppet Users] Module availability, loading order

2010-09-07 Thread James Turnbull
Martijn Grendelman wrote: On 07-09-10 16:34, James Turnbull wrote: Martijn Grendelman wrote: It's probably my own lack of brainpower, but I feel the Puppet documentation could use some more elaborate examples here and there. Patches welcomed! http://github.com/reductivelabs/puppet-docs

[Puppet Users] Could not evaluate: No ability to determine if ... exists

2010-09-07 Thread Martijn Grendelman
Hi, What does this error mean? Sep 7 17:15:54 racey puppet-agent[3291]: (/Stage[main]/Sysctl/Sysctl[kernel.shmmax]) Could not evaluate: No ability to determine if sysctl exists I don't know where to start looking. If I should post my configuration, please let me know. Best regards, Martijn.

Re: [Puppet Users] Could not evaluate: No ability to determine if ... exists

2010-09-07 Thread Martijn Grendelman
On 07-09-10 17:29, Martijn Grendelman wrote: Hi, What does this error mean? Sep 7 17:15:54 racey puppet-agent[3291]: (/Stage[main]/Sysctl/Sysctl[kernel.shmmax]) Could not evaluate: No ability to determine if sysctl exists I don't know where to start looking. If I should post my

Re: [Puppet Users] Puppet + APT, I am lost...

2010-09-07 Thread Patrick
On Sep 7, 2010, at 1:22 AM, Martijn Grendelman wrote: Hi, But for this to work, the Puppet run needs to run aptitude update to pick up the new package name. Running the update periodically isn't enough, but running an update on every catalog run is just overkill. I understand your

[Puppet Users] Virtual Resources

2010-09-07 Thread Douglas Garstang
Would it be safe to say that virtual resources, once defined, sort of become like a globally scoped object within the node? Ie, in one module I can require= an object defined as a virtual resource in another module, as long as they are both being run on the node? The docs really don't make a lot

Re: [Puppet Users] Help with puppet kick

2010-09-07 Thread Martijn Grendelman
M C schreef: We would like to avoid pre-scheduled updates in our production environment by puppet. The solution I've come across is to instruct the puppet agent not to update on a schedule and instead use puppet kick from the puppet master to force updates when we're ready to deploy them. I

[Puppet Users] Re: puppet.conf = client = false; Puppet 0.25.5

2010-09-07 Thread CraftyTech
Has anyone found a workaround for this? It appears that the bug hasn't been fixed. I basically just need the daemon to run, listening, without ever calling the puppetmaster on its own. My clients are configured as follow: *** [puppetd] report = true listen = true client

[Puppet Users] custom facts setup questions

2010-09-07 Thread James Cammarata
I'm trying to setup a module to deploy custom facts, and I'm running into some issues. I've created a directory called custom in my modules directory, and created sub-directories there so I have custom/lib/facter (as is described in the documentation). On my puppetmaster, I've added this to

Re: [Puppet Users] API: Get a list of servers that include a certain module/class

2010-09-07 Thread Joe McDonagh
On 09/07/2010 03:06 AM, phred wrote: Hi there Is there a possibility to get all servers via API that e.g. have import production whereas production is a module/class. I want to use that host list for doing push deployments - something that needs to be live immediately. Greets Philipp I

Re: [Puppet Users] Puppet + APT, I am lost...

2010-09-07 Thread Daniel Pittman
Patrick kc7...@gmail.com writes: On Sep 7, 2010, at 1:22 AM, Martijn Grendelman wrote: But for this to work, the Puppet run needs to run aptitude update to pick up the new package name. Running the update periodically isn't enough, but running an update on every catalog run is just overkill.

Re: [Puppet Users] API: Get a list of servers that include a certain module/class

2010-09-07 Thread Daniel Pittman
phred philipp.kel...@gmail.com writes: Is there a possibility to get all servers via API that e.g. have import production whereas production is a module/class. I want to use that host list for doing push deployments - something that needs to be live immediately. While this is available

[Puppet Users] Environmental Variables

2010-09-07 Thread Marek Dohojda
Hi Everybody, I been looking through google for better part of the day but I haven't been able to find an answer to my problem. I need an environmental variable to be present in puppet, so that yum works correctly. However after reboot puppet doesn't read /etc/profile and starts without this

Re: [Puppet Users] Environmental Variables

2010-09-07 Thread Jeff McCune
On Tue, Sep 7, 2010 at 4:46 PM, Marek Dohojda chro...@gmail.com wrote: Hi Everybody, I been looking through google for better part of the day but I haven't been able to find an answer to my problem. I need an environmental variable to be present in puppet, so that yum works correctly. 

Re: [Puppet Users] Help with defining users and groups on hosts

2010-09-07 Thread denmat
replying to my own post so that anyone that has a similar issue can benefit: So if I had a class called buildManagers that I wanted to have different groups to the default set I would do the following: class buildOperators inherits buildManagers { realize ( Group [some_default_virt_group,

[Puppet Users] re-colorise puppet logs

2010-09-07 Thread Amos Shapira
Hi, We find the color-coded puppet logs very useful, but they are not coloured when logged to a file. Here is a small Perl script to add the color back when reading that file. I'd like to upload it to the Wiki but not sure where would it fit (and didn't find the way to add a new page). I offer