[Puppet Users] Re: files being truncated

2009-03-30 Thread Trevor Vaughan
Just out of curiosity, what happens when you '\' escape your curly braces? Trevor On Mon, Mar 30, 2009 at 05:20, Tom Brown wrote: > > >> $ rpm -qa | grep puppet >> puppet-0.24.7-4.el4 >> puppet-server-0.24.7-4.el4 >> >> clients are >> >> # rpm -qa | grep puppet >> puppet-0.24.7-4.el5 >> >> than

[Puppet Users] Re: Augeas not saving changes

2009-03-30 Thread Bryan Kearney
Avi Miller wrote: > Hey gang, > > I'm using the latest Puppet/Augeas RPMs from EPEL testing: > > puppet-0.24.8-1.el5.1 > augeas-0.4.2-1.el5 > augeas-libs-0.4.2-1.el5 > > I have the following in my Puppet manifest: > > augeas { "rpm": > context => "/etc/logrotate.d/rpm", > changes => [

[Puppet Users] Re: files being truncated

2009-03-30 Thread Tom Brown
> $ rpm -qa | grep puppet > puppet-0.24.7-4.el4 > puppet-server-0.24.7-4.el4 > > clients are > > # rpm -qa | grep puppet > puppet-0.24.7-4.el5 > > thanks > > OK the problem seems to be around this SOME_URL = {\ 'URL1' : 'http://url-1.com',\ 'URL2' : 'http://url-2.com/',

[Puppet Users] Re: files being truncated

2009-03-30 Thread Tom Brown
> Just out of curiosity, what happens when you '\' escape your curly braces? > > same issue - random truncates although this was highlighted to me http://projects.reductivelabs.com/issues/889 and so although i had the latest ruby for rhel4 i rebuilt the latest src.rpm and got that installe

[Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 0.24.8 now available!

2009-03-30 Thread Larry Ludwig
Thanks Todd, Anyone have an updated facter RPM also? -L -- Larry Ludwig Reductive Labs --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googl

[Puppet Users] Calling a define multiple times....

2009-03-30 Thread Craig Dunn
OK, heres what I am trying to accomplish and I have a couple of issues with this I have a mysql module, and other modules that require mysql users to be set up, I thought I had this cracked with the following: # modules/mysql/manifests/init.pp class mysql { ... package and servi

[Puppet Users] Re: Calling a define multiple times....

2009-03-30 Thread Trevor Hemsley
exec {"mysqlgrant-$name": etc Craig Dunn wrote: > OK, heres what I am trying to accomplish and I have a couple of issues > with this > > I have a mysql module, and other modules that require mysql users to be > set up, I thought I had this cracked with the following: > > # modules/mysql/man

[Puppet Users] Re: Calling a define multiple times....

2009-03-30 Thread Craig Dunn
Trevor Hemsley wrote: > exec {"mysqlgrant-$name": > etc > That did the trick - thanks... Craig --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-use

[Puppet Users] Re: Augeas not saving changes

2009-03-30 Thread Avi Miller
Bryan, On Mon, Mar 30, 2009 at 11:16 PM, Bryan Kearney wrote: > One augeas nuance that makes it way up into puppet all files in > augeas are stored under /files. So.. you should write your command as below: I knew this, and stared at that block for ages and still didn't spot that! Though, i

[Puppet Users] Re: ANNOUNCE: Puppet 0.24.8 now available!

2009-03-30 Thread Todd Zullinger
Larry Ludwig wrote: > Thanks Todd, No problem. > Anyone have an updated facter RPM also? Facter 1.5.4 is in epel-testing and Fedora's updates-testing. -- ToddOpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~

[Puppet Users] A simple function to load external class attributes

2009-03-30 Thread Luke Kanies
Hi all, We at Reductive Labs keep running into clients who need something like an attribute class - that is, for a given module, they want a single class that handles all of the variable setting and overriding, and then they want that attribute class to be merged into all or some of the cl

[Puppet Users] Re: how to override hostname

2009-03-30 Thread Luke Kanies
On Mar 23, 2009, at 7:18 AM, thomas wrote: > > I am trying to test stand alone puppet manifests invoking /usr/bin/ > puppet. > > Is there a way to override current hostname with some other value? > > I have tried with no success: > > FACTER_hostname=foo /usr/bin/puppet manifest.pp Use --certname

[Puppet Users] Re: Staging puppet server running on my local machine?

2009-03-30 Thread Luke Kanies
On Mar 26, 2009, at 2:52 PM, timcharper wrote: > > I'm wanting to build something along the lines of: > > * I close the puppetmaster repo locally > * I start it up, puppetmasterd --confdir ~/path/to/conf > * I ssh in to the machine I want to work with, using ssh -R > 8140:127.0.0.1:8140 > * Then,

[Puppet Users] Re: compressing client/server communications

2009-03-30 Thread Luke Kanies
On Mar 26, 2009, at 4:54 AM, Brice Figureau wrote: > > On 26/03/09 1:56, Ben wrote: >> I use, and depend on, puppet extensively and a good portion of the >> servers (nodes) are remote, across a WAN. >> >> I just started a WAN Optimization trial with some Juniper gear, one >> of >> the component

[Puppet Users] Re: Scheduling with subscribe question

2009-03-30 Thread Luke Kanies
On Mar 27, 2009, at 10:15 AM, Hui wrote: > [...] >schedule { often: >repeat => 12, >period => hourly, >} > [...] > afternoontest/often/lunchhour: all aimed at testing 'repeat', however > I couldn't see how the number of repeats made any difference. In the > case of 'often'

[Puppet Users] Re: files being truncated

2009-03-30 Thread Luke Kanies
On Mar 30, 2009, at 4:20 AM, Tom Brown wrote: > > >> $ rpm -qa | grep puppet >> puppet-0.24.7-4.el4 >> puppet-server-0.24.7-4.el4 >> >> clients are >> >> # rpm -qa | grep puppet >> puppet-0.24.7-4.el5 >> >> thanks >> >> > > > OK the problem seems to be around this > > SOME_URL = {\ >'URL1

[Puppet Users] Re: Augeas not saving changes

2009-03-30 Thread David Lutterkort
On Tue, 2009-03-31 at 11:41 +1100, Avi Miller wrote: > On Mon, Mar 30, 2009 at 11:16 PM, Bryan Kearney wrote: > > One augeas nuance that makes it way up into puppet all files in > > augeas are stored under /files. So.. you should write your command as below: > > I knew this, and stared at th