Re: [Puppet Users] [puppet-users] apt and gem package with the same name

2010-07-07 Thread James Turnbull
Peter Meier wrote: > On 07/07/2010 07:10 PM, hernan wrote: >> I have tried this solution as well and it did not work. I may resort >> to an exec as Patrick suggested. > > it will work when we have composite primary keys for resources, I'm not > sure we will get that in 2.6, but there are definate

Re: [Puppet Users] [puppet-users] apt and gem package with the same name

2010-07-07 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/07/2010 07:10 PM, hernan wrote: > I have tried this solution as well and it did not work. I may resort > to an exec as Patrick suggested. it will work when we have composite primary keys for resources, I'm not sure we will get that in 2.6, but

Re: [Puppet Users] Puppet report server

2010-07-07 Thread Jeff McCune
On Wed, Jul 7, 2010 at 3:25 PM, Psyber wrote: > I was looking into the reporting features in puppet today and realized > that though I want the reports I don't want to bog my puppetmasters > down with the task of generating the rrd and png files. Also I already > have a server set up to do reporti

[Puppet Users] Re: Network settings control module

2010-07-07 Thread SyRenity
Thanks - this gives me a good direction how to start indeed! Regards. On Jul 6, 7:08 pm, Ashley Penney wrote: > I use this for rhel/foreman: > > init.pp > class network { >         tag("bootstrap") > >                 file { "ifcfg-eth0": >                                 path => > "/etc/sysconf

[Puppet Users] Puppet report server

2010-07-07 Thread Psyber
I was looking into the reporting features in puppet today and realized that though I want the reports I don't want to bog my puppetmasters down with the task of generating the rrd and png files. Also I already have a server set up to do reporting on various other things that already has the space/C

[Puppet Users] Puppet Labs is hiring!

2010-07-07 Thread James Turnbull
Hi all Puppet Labs is looking for a: Customer Support and Infrastructure Engineer Your Mission: Be the external and internal client voice and contact to help improve Puppet Labs products and service. Your Priorities: Monitor all Puppet forums, and other user contacts points for opportunities

Re: [Puppet Users] [puppet-users] apt and gem package with the same name

2010-07-07 Thread hernan
I have tried this solution as well and it did not work. I may resort to an exec as Patrick suggested. thnx.. Hernan On Wed, Jul 7, 2010 at 6:12 AM, Gustavo Soares wrote: > I don't think that it should work. > I have a similar a problem when I want to manage to gems with different > versions.. I

[Puppet Users] inventory of managed resources

2010-07-07 Thread Adam Winberg
Hi, are there any good ways of scripting an inventory of managed resources on all nodes? I've found the inventory script by R.I.Pienaar ( http://www.devco.net/archives/2010/02/26/what_does_puppet_manage_on_a_node-2.php) which does what I want but only locally on each client. Is there any native wa

Re: [Puppet Users] [puppet-users] apt and gem package with the same name

2010-07-07 Thread Gustavo Soares
I don't think that it should work. I have a similar a problem when I want to manage to gems with different versions.. I have tried something like this: package { "memcached-0.18.0": name => "memcached", provider => gem, ensure => "0.18.0" } package { "memcached-0.20.0": name => "me

Re: [Puppet Users] %% in templates

2010-07-07 Thread Tim
Cheers Jeff, that's just what I was after :) On Tue, Jul 6, 2010 at 5:00 PM, Jeff McCune wrote: > On Tue, Jul 6, 2010 at 12:52 AM, Tim wrote: >> >> I realise that one solution here is to just not check the syntax of >> the template with erb (as it works absolutely fine with a single %).. >> Howe

Re: [Puppet Users] Re: ssh authorized key problem in AIX

2010-07-07 Thread M.F.Haris
thanks Andrew, the sourcepath i was using for AIX is puppet:///userkeys/$pub_key.${username}. but I am pretty sure that with 0.24 it was working fine and i it appears to me since i upgrade to 0.25 sourcepath must require '/modules/' inlcuded here. Thanks again for your prompt reply. M Haris Faroo

Re: [Puppet Users] Autoloading Capitalized Classes

2010-07-07 Thread David Schmitt
On 7/6/2010 1:01 AM, Douglas Garstang wrote: Why doesn't puppet autoload modules with capitals in the class names? Probably a bug. Sadly, your mail doesn't contain enough info to decide. Jul 5 09:55:54 s_...@test01.sjc.xxx.com puppetd[6527]: Could not retrieve catalog from remote server: Err

[Puppet Users] Re: Using variables in regex

2010-07-07 Thread Christian Casar
Ok, I going to file a bugreport for this. On 6 Jul., 20:02, Jeff McCune wrote: > On Tue, Jul 6, 2010 at 10:40 AM, Patrick Mohr wrote: > > >> Is it even possible in version 0.25.4? > > > Try changing #{variable} to ${variable} > > I tried this, it doesn't work. > > Here's my test: > > # Regular

Re: [Puppet Users] Re: Splitting classes into separate files

2010-07-07 Thread Luke Kanies
On Jul 5, 2010, at 4:14 PM, Douglas Garstang wrote: On Mon, Jul 5, 2010 at 4:00 PM, Peter Meier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In this module, if you use the following orginization puppet will autoload everything: manifests/init.pp contains class apache { } manifests/

Re: [Puppet Users] Re: Splitting classes into separate files

2010-07-07 Thread Luke Kanies
On Jul 5, 2010, at 7:11 AM, Thomas Bellman wrote: On 2010-07-03, Jeff McCune wrote: In this module, if you use the following orginization puppet will autoload everything: manifests/init.pp contains class apache { } manifests/disable.pp contains class apache::disable inherits apache {} mani