Re: [Puppet Users] Re: Nagios hostgroups

2010-06-25 Thread Gabriel Filion
Hello, On 2010-06-15 21:17, donavan wrote: > On Jun 14, 11:07 pm, Gabriel Filion wrote: >> bug or missing feature.. I haven't tried it with 0.25.5, though. I'm on >> Debian unstable, using the puppet/puppetmaster packages, so the version >> is 0.25.4 >> >> should I open a bug report about this? >

Re: [Puppet Users] Ability to deploy a "skeleton" directory

2010-06-25 Thread Jean-Baptiste Barth
2010/6/26 Patrick Mohr > Do you mean you want the users to be able to change *all* the files? I > just pushed the directory using an exec with a "creates". I think I used a > combination of wget and tar. > Sounds like a good idea, maybe it will be much more simple in my case. Anyway, see my ot

Re: [Puppet Users] Ability to deploy a "skeleton" directory

2010-06-25 Thread Jean-Baptiste Barth
2010/6/25 Silviu Paragina > Change the ownership of the files on the server (but this implies that the > users exists on the server too). Second what puppet version? There were some > bugs in older versions that made puppet hash all the files in a folder if > the folder was maintained by puppet,

Re: [Puppet Users] puppet random errors

2010-06-25 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > that's a very good point and I am going to investigate it. the master > is running as a virtual machine with limited resources so this can be > really the issue. not only that: webrick is a single thread serving only one client at one point. this is

Re: [Puppet Users] Ability to deploy a "skeleton" directory

2010-06-25 Thread Patrick Mohr
On Jun 25, 2010, at 2:00 AM, Jean-Baptiste Barth wrote: > - I'd like puppet to let user change some files in the skeleton as they want, > i.e. skip this directory if it just exists > > Do you have an idea about how I could do that ? Do you mean you want the users to be able to change all the f

Re: [Puppet Users] Why is a package statement ignored?

2010-06-25 Thread Mohamed Lrhazi
Thanks a lot David. It seems the x64 version was already installed and netback needs the i386... libacl.i386 : Dynamic library for access control list support. libacl.x86_64 : Dynamic library for access control list support. I'm gonna try and require both both packages. Mohamed. On Fri, Jun 25

RE: [Puppet Users] overriding resources

2010-06-25 Thread Kinzel, David
> >Actually, it's pretty trivial. Just put: >Package { require => Exec["apt-get update"] } >in the root of your manifests. One typical place is the >beginning of site.pp. > The -y flag might be needed for it to work without user interaction. > >Technically, I recommend putting all your package

RE: [Puppet Users] Why is a package statement ignored?

2010-06-25 Thread Kinzel, David
>The xinted package gets installed, and if I removed it, gets >reinstalled. >The package libacl is never installed and no error is logged >about it... > So rpm -q libacl matches nothing? > >Any idea why that would be? > >Manually running "yum install libacl" does get it installed. > It puppet

[Puppet Users] Why is a package statement ignored?

2010-06-25 Thread Mohamed Lrhazi
I have a class like that starts like this: class gu_netbackup { package { "libacl": ensure => installed, } package { "xinetd": ensure => installed, } The xinted package gets installed, and if I removed it, gets reinstalled. The package libacl is never installed and

Re: [Puppet Users] Puppet modules - where can I suggest something and/or submit a patch

2010-06-25 Thread James Turnbull
Current module version is fine. We'll be introducing VCS back end capabilities in the next release. On Jun 25, 2010 12:56 PM, "Silviu Paragina" wrote: > On 25.06.2010 17:44, James Turnbull wrote: >> You can log tickets and submit patches for our modules at: >> >> http://projects.puppetlabs.com/p

Re: [Puppet Users] To External Nodes, or not to External Nodes

2010-06-25 Thread Silviu Paragina
On 25.06.2010 19:42, Douglas Garstang wrote: I had started converting my node manifests to external nodes (in yaml format), to make them machine readable/writable, so that we could write scripts to parse them. However, I really can't get it right in my head that by doing that I am forced to pass

Re: [Puppet Users] To External Nodes, or not to External Nodes

2010-06-25 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Do I have any other options? waiting for 2.6 which will have class parameters. cheers pete -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwlCvoACgkQbwl

Re: [Puppet Users] Puppet modules - where can I suggest something and/or submit a patch

2010-06-25 Thread Silviu Paragina
On 25.06.2010 17:44, James Turnbull wrote: You can log tickets and submit patches for our modules at: http://projects.puppetlabs.com/projects/modules/issues/new Forgot to ask the patches should be against the current module version or against a git repository somewhere (where if so?). S

Re: [Puppet Users] Ability to deploy a "skeleton" directory

2010-06-25 Thread Silviu Paragina
On 25.06.2010 12:00, Jean-Baptiste Barth wrote: Hi, I'd like to be able to deploy a skeleton directory through puppet, i.e. puppet deploys it only if it does not exist. I tried this : file {"/path/to/this/directory": source => "puppet:///files/path/to/the/skeleton", ensure => directory,

Re: [Puppet Users] sysctl

2010-06-25 Thread Patrick Mohr
On Jun 25, 2010, at 8:32 AM, Pablo wrote: > Hi > Augeas module will help you in that task > > Just use "/files/etc/sysctl.conf" > > and set "whateverparameter " "value" > Scott, if you have problems with quoting, and want to use Augeas, take a look at http://groups.google.com/group/puppet-u

[Puppet Users] To External Nodes, or not to External Nodes

2010-06-25 Thread Douglas Garstang
I had started converting my node manifests to external nodes (in yaml format), to make them machine readable/writable, so that we could write scripts to parse them. However, I really can't get it right in my head that by doing that I am forced to pass parameters to classes by setting a series of va

Re: [Puppet Users] defining a package provider?

2010-06-25 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > i took a look at a provider for apt. i might be able to hack my way > around it, but i was hoping for something a little more detailed (i.e. > useable by a newb). Looking at the existing providers and copy/adjust them to talk to crux pkgadd is a go

Re: [Puppet Users] More Provider Development?

2010-06-25 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I would suggest looking on puppet forge. Some modules on puppet forge > have simple providers defined. One of the examples would be vcsrepo. > Seems like a straight forward example (at least to me) > I don't know of any other documentation, maybe som

Re: [Puppet Users] sysctl

2010-06-25 Thread Pablo
Hi Augeas module will help you in that task Just use "/files/etc/sysctl.conf" and set "whateverparameter " "value" Regards Pablo Pablo Iranzo Gómez (http://Alufis35.uv.es/~iranzo/) (PGPKey Available on http://www.uv.es/~iranzop/PGPKey.pgp) -- Postulado de Boling sobre la Ley d

Re: [Puppet Users] sysctl

2010-06-25 Thread Christopher Johnston
There was one just posted on the list 2 days ago if you do a search. Works well. There is this one too. http://git.puppet.immerda.ch/?p=module-sysctl.git;a=summary On Fri, Jun 25, 2010 at 10:19 AM, nottings wrote: > Does anyone out there have a module or type for managing sysctl? > Where can I

Re: [Puppet Users] Struggling with 1 client & 2 puppetmasters

2010-06-25 Thread Dan Bode
Hi Chris, Check out: http://bodepd.com/wordpress/?p=7 this is my preferred way out setting up multiple puppetmasters with a shared CA. (Its a little better than the way described below since it allows you to add aliases to the second puppet master) On Fri, Jun 25, 2010 at 2:48 AM, Chris wrote:

Re: [Puppet Users] Puppet modules - where can I suggest something and/or submit a patch

2010-06-25 Thread Silviu Paragina
On 25.06.2010 17:44, James Turnbull wrote: Silviu You can log tickets and submit patches for our modules at: http://projects.puppetlabs.com/projects/modules/issues/new for the moment and I'll merge them in. Regards James Turnbull Super. Thanks for the info :) Silviu -- You received

[Puppet Users] sysctl

2010-06-25 Thread nottings
Does anyone out there have a module or type for managing sysctl? Where can I download it? I've seen and old one out there that doesn't seem to work with version 0.25.x, so I'm hoping to find one that has been kept up to date -- You received this message because you are subscribed to the Google G

[Puppet Users] Struggling with 1 client & 2 puppetmasters

2010-06-25 Thread Chris
Hi We have a development and a production puppetmaster instance and would like to choose to which master a client connects whithout having to worry/care to much about the certificates. The easiest setup seems to have one puppet-CA which is on the production puppetmaster server. After experiment

[Puppet Users] Ability to deploy a "skeleton" directory

2010-06-25 Thread Jean-Baptiste Barth
Hi, I'd like to be able to deploy a skeleton directory through puppet, i.e. puppet deploys it only if it does not exist. I tried this : file {"/path/to/this/directory": source => "puppet:///files/path/to/the/skeleton", ensure => directory, recurse => true, owner => auser, group => agrou

Re: [Puppet Users] Vcsrepo module use git with certificate

2010-06-25 Thread James Turnbull
Silviu Paragina wrote: > Has anyone tried using this puppet forge module with a certificate? > (puppetlabs/vcsrepo) Any ideas on how to specify via command line to git > what certificate to use? > > The only way that I know to tell git to use a specific certificate is to > use the GIT_SSH env v

Re: [Puppet Users] Puppet modules - where can I suggest something and/or submit a patch

2010-06-25 Thread James Turnbull
Silviu You can log tickets and submit patches for our modules at: http://projects.puppetlabs.com/projects/modules/issues/new for the moment and I'll merge them in. Regards James Turnbull -- Puppet Labs - http://www.puppetlabs.com C: 503-734-8571 -- You received this message because you are

[Puppet Users] Puppet modules - where can I suggest something and/or submit a patch

2010-06-25 Thread Silviu Paragina
Right now I'm trying to import the puppet labs apache module in my configuration structure. But inside it I have found something like: $vdir = $operatingsystem? { 'ubuntu' => '/etc/apache2/sites-enabled/', default => '/etc/httpd/conf.d', } The ubuntu part should also apply to debian.

[Puppet Users] Re: Yet more variable scoping pain.

2010-06-25 Thread Chuck
Does this do it? ${datacentre::new_york::VARIABLE_NAME} On Jun 24, 3:26 pm, Douglas Garstang wrote: > Some days I wonder why I even bother with puppet. > > --- > classes: >   - datacentre::new_york >   - role::appserver >   - elements::tfel0 > environment: production: > parameters: >  < set key

Re: [Puppet Users] Vcsrepo module use git with certificate

2010-06-25 Thread Silviu Paragina
On 25.06.2010 01:56, Silviu Paragina wrote: Has anyone tried using this puppet forge module with a certificate? (puppetlabs/vcsrepo) Any ideas on how to specify via command line to git what certificate to use? The only way that I know to tell git to use a specific certificate is to use the GI

Re: [Puppet Users] Passenger barfs.

2010-06-25 Thread Gary Larizza
Remove rack 1.2.1 first and then install rack 1.1.0. It seems that rack 1.1.0 and passenger 2.2.9 have been the magic combination (at least for me). -Gary On Fri, Jun 25, 2010 at 2:06 AM, Douglas Garstang wrote: > On Thu, Jun 24, 2010 at 10:48 PM, Douglas Garstang > wrote: > > On Thu, Jun 24,

Re: [Puppet Users] overriding resources

2010-06-25 Thread Patrick Mohr
On Jun 24, 2010, at 10:55 PM, Mathijs wrote: > Hi all, > > Is it possible to override the behaviour of all instances of a > resource from a module? > I would like to have my "apt" module add a requirement for Exec["apt- > get update"] to all Package resources. > > putting > Package { require =>