Re: [Puppet Users] Specifying Yum Options

2010-04-02 Thread Isaac Christoffersen
On 4/2/10 5:40 AM, James Turnbull wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2/04/10 1:19 PM, Isaac Christoffersen wrote: We're using RHN Satellite server to manage our packages and we have a custom package channel for third-party packages. Unfortunately, some of the packages

Re: [Puppet Users] Specifying Yum Options

2010-04-02 Thread Isaac Christoffersen
On 4/1/10 10:24 PM, James Cammarata wrote: On Thu, 01 Apr 2010 22:19:39 -0400, Isaac Christoffersen wrote: We're using RHN Satellite server to manage our packages and we have a custom package channel for third-party packages. Unfortunately, some of the packages in the channel are unsigned

[Puppet Users] complex data types in puppet & facter

2010-04-02 Thread Greg Retkowski
Good Afternoon, I'm running puppet vers. 0.24.4 and am trying to use some facts in puppet ERB templates. It appears as long as the fact is a simple type, such as a String, the fact works as expected in the ERB template. However if the fact is something more complex (like a Hash) it appears to

Re: [Puppet Users] Mongrel : Can't download files

2010-04-02 Thread smain kahlouch
2010/4/1 smain kahlouch > > > 2010/4/1 Smain Kahlouch > > Message initial >> De: Michael DeHaan >> Reply-to: puppet-users@googlegroups.com >> À: puppet-users@googlegroups.com >> Cc: James Turnbull >> Sujet: Re: [Puppet Users] Mongrel : Can't download files >> Date: Wed, 31 Ma

Re: [Puppet Users] Uncaught exception failed to allocate memory

2010-04-02 Thread Patrick
Puppet just doesn't work well moving big files. Also, 0.24 is much worse for this than 0.25. Using an apt repository or wget in an exec would probably be better. If you really want to try to make this work your way, here are two things to check though: 1) Is the puppet-setup directory being c

Re: [Puppet Users] List of lists

2010-04-02 Thread Serge Dewailly
Upgrading version to last one (0.25.5) didn't help, and downgrade to 0.24 is not possible due to 0.25 fonctionalities' use (I'm using 0.25.5 debian package now). But I have found a solution, based on Ohad's one : $interfaces = [ "eth0,192.168.120.65,255.255.255.0,192.168.120.255,true", "eth1

Re: [Puppet Users] $libdir question

2010-04-02 Thread Roy Nielsen
Thanks Pete, -Roy On 4/2/10 9:22 AM, Peter Meier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi It appears that when pluginsync is turned on, all our custom programs get erased. Is this expected behavior? yes. You might want to choose another location. cheers pete -B

Re: [Puppet Users] $libdir question

2010-04-02 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi > It appears that when pluginsync is turned on, all our custom programs > get erased. > > Is this expected behavior? yes. You might want to choose another location. cheers pete -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comm

[Puppet Users] $libdir question

2010-04-02 Thread Roy Nielsen
Hello, puppet version 0.25.1. We put some custom programs in $libdir on the client (nothing to do with puppet). It appears that when pluginsync is turned on, all our custom programs get erased. Is this expected behavior? Thanks, -Roy -- You received this message because you are subscribe

Re: [Puppet Users] List of lists

2010-04-02 Thread Mike Pountney
I'm not really able to check at the moment, but i'm pretty sure the issue is fixed in 0.24.8, so you might want to try that first. We had a bunch of issues with our manifests (quality issues at our end mainly btw) going to 0.25.x, but of course it's best if you can get your puppetmaster at

Re: [Puppet Users] List of lists

2010-04-02 Thread Ohad Levy
you can do something like this instead: in your manifest: $ifs = "eth0, 192.168.120.65, 255.255.255.0, 192.168.120.255, true; eth0:0, 192.168.120.66, 255.255.255.0, 192.168.120.255, true" file {"xxx": content => template("xxx.erb")} and in your template: <% ifs.split(";").each do |int| -%> <%

Re: [Puppet Users] List of lists

2010-04-02 Thread Serge Dewailly
Hi, I'm using 0.24.1. Maybe an upgrade would make it working ? Serge. Le 02/04/10 16:25, Mike Pountney a écrit : As far as I know this should work. There was a regression in 0.24.6 that broke it though. Which version are you running? On 2 Apr 2010, at 14:55, Serge Dewailly wrote: Hi all,

Re: [Puppet Users] Re: Puppet environment + fileserver

2010-04-02 Thread Serge Dewailly
I though module were used when having multiple files to a single service, or when wanting a stand-alone configuration (to make it portable). Anyway, I think I will use your solution since it will respect my needs... lots of changes to make ! :) Thanks again for your help. Serge. Le 02/04/10

Re: [Puppet Users] List of lists

2010-04-02 Thread Mike Pountney
As far as I know this should work. There was a regression in 0.24.6 that broke it though. Which version are you running? On 2 Apr 2010, at 14:55, Serge Dewailly wrote: Hi all, Is it possible to manage List of list within Puppet ? I'd like to use something like this : interfaces = [ [ "

Re: [Puppet Users] Re: Puppet environment + fileserver

2010-04-02 Thread Nigel Kersten
On Fri, Apr 2, 2010 at 6:58 AM, Serge Dewailly wrote: > No I don't need different access level, but it makes strange configuration > if in a class (say /etc/puppet/production/manifest/test.pp) I use something > like that : > > file{"/tmp/foo": >      source => "puppet:///modules/" > } > > Is it a

Re: [Puppet Users] Re: Puppet environment + fileserver

2010-04-02 Thread Serge Dewailly
No I don't need different access level, but it makes strange configuration if in a class (say /etc/puppet/production/manifest/test.pp) I use something like that : file{"/tmp/foo": source => "puppet:///modules/" } Is it a good idea to acces file from modules dir within a class (a class n

Re: [Puppet Users] Re: Puppet environment + fileserver

2010-04-02 Thread Nigel Kersten
On Fri, Apr 2, 2010 at 6:53 AM, Ohad Levy wrote: > Hi, > Maybe I'm missing something here, but why not just store the files in the > modules? do you need to provide different access level to your modules based > on environments? Can't you do this anyway in auth.conf even for files in modules with

[Puppet Users] List of lists

2010-04-02 Thread Serge Dewailly
Hi all, Is it possible to manage List of list within Puppet ? I'd like to use something like this : interfaces = [ [ "eth0", "192.168.120.65", "255.255.255.0", "192.168.120.255", "true" ], [ "eth0:0", "192.168.120.66", "255.255.255.0", "192.168.120.255", "true" ] ] When looping over element

Re: [Puppet Users] Re: Puppet environment + fileserver

2010-04-02 Thread Ohad Levy
Hi, Maybe I'm missing something here, but why not just store the files in the modules? do you need to provide different access level to your modules based on environments? Ohad On Fri, Apr 2, 2010 at 9:37 PM, Serge Dewailly wrote: > Hi, > > Thanks for your response. I forgot to mention Puppet

Re: [Puppet Users] Re: Puppet environment + fileserver

2010-04-02 Thread Serge Dewailly
Hi, Thanks for your response. I forgot to mention Puppet version in use, sorry about that. I'm using version 0.25.1. Thanks for your approach about storing files in modules path. I will try to work around with that. In a ideal world, I would keep my two environments in completly separate dire

Re: [Puppet Users] Uncaught exception failed to allocate memory

2010-04-02 Thread Nigel Kersten
On Fri, Apr 2, 2010 at 5:23 AM, Marcelo Barbudas wrote: > Hi! > > I have a recipe that's supposed to download ree from a master and > install it. It looks like: > >    # Install ree >    file { "/root/puppet-setup/ruby- > enterprise_1.8.7-2010.01_amd64.deb": >      source => "puppet://$servername/

[Puppet Users] Uncaught exception failed to allocate memory

2010-04-02 Thread Marcelo Barbudas
Hi! I have a recipe that's supposed to download ree from a master and install it. It looks like: # Install ree file { "/root/puppet-setup/ruby- enterprise_1.8.7-2010.01_amd64.deb": source => "puppet://$servername/files/ruby- enterprise_1.8.7-2010.01_amd64.deb", mode => 0644,

Re: [Puppet Users] Specifying Yum Options

2010-04-02 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2/04/10 1:19 PM, Isaac Christoffersen wrote: > We're using RHN Satellite server to manage our packages and we have a > custom package channel for third-party packages. Unfortunately, some of > the packages in the channel are unsigned. > > Is the