[Puppet Users] Re: templates with ERB

2009-06-05 Thread Jason Rojas
content => template("one","two","three"); I think is what will work for concatenation. http://projects.reductivelabs.com/issues/1818 Read Luke's comment at the bottom. in 0.24.8 lib/puppet/parser/functions/inline_template.rb:if multiple template strings are specified, their output is all con

[Puppet Users] Re: templates, ERB include, import or whatever

2009-06-05 Thread Felix Schäfer
Am 05.06.2009 um 19:57 schrieb Derek Yarnell: > So I have been doing some testing of content => template. Our site > has used a custom solution for configuration management w/ a mix of > rsync/m4/make and a little cfengine on the side. Now for us the > power of m4 is that not only you ca

[Puppet Users] templates, ERB include, import or whatever

2009-06-05 Thread Derek Yarnell
So I have been doing some testing of content => template. Our site has used a custom solution for configuration management w/ a mix of rsync/m4/make and a little cfengine on the side. Now for us the power of m4 is that not only you can do variable substitution but it can include files. I am loo

[Puppet Users] templates with ERB

2009-06-05 Thread Derek Yarnell
So I have been doing some testing of content => template. Our site has used a custom solution for configuration management w/ a mix of rsync/m4/make and a little cfengine on the side. Now for us the power of m4 is that not only you can do variable substitution but it can include files. I am loo

[Puppet Users] Re: Cert

2009-06-05 Thread Alex D
Actually, the problem was solved once the hostnames are the same as the cert names. On May 20, 12:18 pm, Luke Kanies wrote: > On May 19, 2009, at 8:07 PM, Drew Morone wrote: > > > > > Having a problem with cert negotiation between client and server. > > > client: > > CentOS 4.4 > > 2.6.9 kernel

[Puppet Users] Re: Cert

2009-06-05 Thread Alex D
Did anyone find out what was causing this ? Thanks, Alex D. On May 20, 12:18 pm, Luke Kanies wrote: > On May 19, 2009, at 8:07 PM, Drew Morone wrote: > > > > > Having a problem with cert negotiation between client and server. > > > client: > > CentOS 4.4 > > 2.6.9 kernel > > ruby 1.8.1-7 > > pu

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-05 Thread Gajillion
Solution! I owe everyone a big thanks and big apology. It turns out that rpm -e ruby doesn't really rpm -e ruby... Pretty much everything in /usr/lib/ ruby and /usr/lib64/ruby stayed in place when I did that, so when I upgraded ruby and puppet from 0.24.5 to 0.24.8 and ruby from 1.8.1 to 1.8.6,

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-05 Thread David Lutterkort
On Fri, 2009-06-05 at 06:02 -0700, Gajillion wrote: > That didn't work either: And I was so convinced it would ;) > debug: Augeas[memlock](provider=augeas): sending command 'ins' with > params ["domain", "after", "/files/etc/security/limits.conf/files/etc/ > security/limits.conf/domain[last()]"]

[Puppet Users] Re: Environment variable access inside an exec

2009-06-05 Thread lance dillon
You could also use augeas to manage those options. On Thu, Jun 4, 2009 at 7:12 PM, Mike Renfro wrote: > > On 6/4/2009 5:59 PM, Brandon Whalen wrote: > > I've spent some time looking at the example recipes and reading the docs > on > > a problem, but I'm still stumped. I'm trying to add some opti

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-05 Thread Gajillion
That didn't work either: debug: Augeas[memlock](provider=augeas): sending command 'ins' with params ["domain", "after", "/files/etc/security/limits.conf/files/etc/ security/limits.conf/domain[last()]"] debug: Augeas[memlock](provider=augeas): sending command 'set' with params ["/files/etc/securit

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-05 Thread Bryan Kearney
David Lutterkort wrote: > On Wed, 2009-06-03 at 12:56 -0700, Gajillion wrote: >> All, >> I've tried several lenses and several iterations and have never been >> able to get augeas and puppet to work together. My latest attempt: >> >> augeas {"memlock": >> changes => [ >> "

[Puppet Users] Puppetmasterd looses contact with the mysql database (using storeconfigs)

2009-06-05 Thread Juri Rischel Jensen
Hi All I've just bootstrapped my new, shining puppet setup (replacing an 2,5 year old, messy one), with (almost) all the bells and whistles: A Passenger-based setup with storeconfigs enabled. For a start I've only got three node definitions; two specific ones and node default. The default o

[Puppet Users] Re: Forwarding a big binary file is slow.

2009-06-05 Thread Brice Figureau
On Thu, 2009-06-04 at 23:34 -0700, Masahiro wrote: > I tried to forward the war file of 24MB from fileserver of puppet to > the client. However, it very took time to do it, and, after all, the > client side became a time-out error. > > I think that I see the source of puppet, and understood the c

[Puppet Users] Re: Specifying nodes by type

2009-06-05 Thread James Turnbull
Brad wrote: > On Jun 4, 8:27 pm, Brad wrote: >> I'm working on a "real" fact by following these steps: >>http://reductivelabs.com/trac/puppet/wiki/AddingFacts >> >> I verified that the custom fact works when run locally on the server. >> On the client when I run: >>puppetd --server hostnam

[Puppet Users] Forwarding a big binary file is slow.

2009-06-05 Thread Masahiro
I tried to forward the war file of 24MB from fileserver of puppet to the client. However, it very took time to do it, and, after all, the client side became a time-out error. I think that I see the source of puppet, and understood the cause. Because fileserver does the content of the file in URL