Re: [Puppet Users] Can I access data structure internal to providers

2010-09-20 Thread John Warburton
Thanks Nigel I'm slowly digesting this whilst quickly learning my next step of ruby John On 20 September 2010 01:21, Nigel Kersten wrote: > On Sun, Sep 19, 2010 at 5:41 AM, John Warburton > wrote: > > Hi Nigel > > > > On 18 September 2010 01:41, Nigel Kersten > wrote: > >> > >> On Fri, Sep

[Puppet Users] Re: Test if stored config is enabled?

2010-09-20 Thread dom
> I've never tried, so I dont know if there's a righter way to do it. > You may be able to access the config information from a rvalue > function inside your manifest. Take a look at > Puppet.settings[:storeconfigs]. As I recall here are different > settings for different sections of your config th

[Puppet Users] Users with puppet

2010-09-20 Thread Andreas Mohrhard
Hi, I'm currently evaluating puppet for use in our server environment (2+ physical machines and something over a dozen xen instances). I want to use it mainly for managing the ssh keys and creating and maintaining accounts for the developers and admins (which work in like 3 groups). So i got three

Re: [Puppet-dev] Re: [Puppet Users] ANNOUNCE: Puppet 2.6.1 released!

2010-09-20 Thread Nigel Kersten
Mac packages all up, apologies for the delay. https://sites.google.com/a/explanatorygap.net/puppet/ -- 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 gro

[Puppet Users] Using an array of arrays from an external node script

2010-09-20 Thread Jérémy
Hi guys, I hope you can help me, I looked for it on the list and on the website but I didn't find any response to my problem. Context : I would like to centralize the package management of my nodes by using a database which would answer me with all the packages ( including package names, configur

Re: [Puppet Users] Users with puppet

2010-09-20 Thread Daniel Pittman
Andreas Mohrhard writes: > I'm currently evaluating puppet for use in our server environment (2+ > physical machines and something over a dozen xen instances). I want to use > it mainly for managing the ssh keys and creating and maintaining accounts > for the developers and admins (which work in

[Puppet Users] a little help with definitions in nodes

2010-09-20 Thread denmat
Hi List, I have two questions. Firstly I want to be able to ensure a default package is installed across all hosts unless I specifically require them to be absent. To do this I have created a module(httpd) and class(php_mod) and definition(php_mod_add) which I want to declare at the default node

Re: [Puppet Users] a little help with definitions in nodes

2010-09-20 Thread Patrick
On Sep 20, 2010, at 8:01 PM, denmat wrote: > Hi List, > > I have two questions. > > Firstly I want to be able to ensure a default package is installed > across all hosts unless I specifically require them to be absent. > > To do this I have created a module(httpd) and class(php_mod) and > defi

[Puppet Users] Re: Users with puppet

2010-09-20 Thread denmat
Here is what I use. I have different environments, production doesn't have access to ldap and requires user accounts on the hosts, the office network still installs the accounts but ldap is also used for groups and so (in case ldap goes missing we can still access the local hosts). I have common

[Puppet Users] Re: a little help with definitions in nodes

2010-09-20 Thread denmat
Thanks for the swift response Patrick, however it hasn't worked. If I declare it in one place, it complains of a duplicate. I'm thinking what I'm trying to do is not possible. I'm now seeing if I can create class definitions and import them that way. node mel_default_preview inherits mel_defaul

Re: [Puppet Users] Re: a little help with definitions in nodes

2010-09-20 Thread Patrick
On Sep 20, 2010, at 10:57 PM, denmat wrote: > Thanks for the swift response Patrick, however it hasn't worked. If I > declare it in one place, it complains of a duplicate. > > I'm thinking what I'm trying to do is not possible. > class base { package { "svn": ensure =>

[Puppet Users] Re: a little help with definitions in nodes

2010-09-20 Thread denmat
Yep, thanks Patrick. I've figure it out this way: class dev_httpd { class dev_httpd_def_php_pkgs inherits php_mod { php_mod::php_mod_add { "php-pgsql": ensure => present, type => "rpm"; } class dev_httpd_preview_php_pkgs inherits dev_httpd_def_php_pkgs {