Re: [Puppet Users] Re: Composing a text file with Puppet

2011-09-02 Thread M C
Hi, thank you verymuch for the explanations. I will first try with a combination of "replace => false" and custom "Line" resource to see if I can easily concat and update my configuration file content. Matteo 2011/9/1 jcbollinger > > > On Aug 31, 10:52 am, Brian Gallew wrote: > > > Call me cr

[Puppet Users] Composing a text file with Puppet

2011-08-30 Thread M C
Hi, is it possible to push a file (with "source" or "content") and then add lines without having Puppet to regenerate it every time it runs? And, how can I add, remove or alter text lines without keeping old contents? Note: i want resources to be executed only if something actually changes. Pleas

Re: [Puppet Users] Facts are propatating but dont work from within templates and classes

2011-05-27 Thread M C
Thank you verymuch, Goodbye, Matteo 2011/5/27 Martin Alfke > > On May 27, 2011, at 10:36 AM, M C wrote: > > > Hi, > > > > could you please tell me your client and master .conf configuration? > > My test was made on a single node using puppet agent. > He

Re: [Puppet Users] Facts are propatating but dont work from within templates and classes

2011-05-27 Thread M C
Hi, could you please tell me your client and master .conf configuration? THanks , Matteo 2011/5/26 Martin Alfke > > On May 26, 2011, at 2:50 PM, M C wrote: > > > Hi, I have a big problem with custom facts. I created a stub module with > a "lib/facter" directo

[Puppet Users] Facts are propatating but dont work from within templates and classes

2011-05-26 Thread M C
Hi, I have a big problem with custom facts. I created a stub module with a "lib/facter" directory as stated in the official Puppet documentation. This is the output i get: # puppetd -t --pluginsync info: Retrieving plugin notice: /File[/var/lib/puppet/lib]/mode: mode changed '755' to '775' notice:

Re: [Puppet Users] Puppetmaster revokes just signed certificates

2011-05-04 Thread M C
Thank you, it solved! Goodbye, Matteo 2011/5/4 Ohad Levy > > > On Wed, May 4, 2011 at 2:09 PM, M C wrote: > >> Hi, >> >> I have this problem: when I make a new request and sign the client's >> certificate, then i get a "revoked certificate"

[Puppet Users] Puppetmaster revokes just signed certificates

2011-05-04 Thread M C
Hi, I have this problem: when I make a new request and sign the client's certificate, then i get a "revoked certificate" error: err: Could not retrieve catalog from remote server: sslv3 alert certificate revoked I am using same version of puppet on master and clients, tried many times, dates are

Re: [Puppet Users] Unrecognised escape sequences

2011-02-09 Thread M C
Hi, thank you verymuch. Matteo 2011/2/9 Felix Frank > On 02/09/2011 01:22 PM, M C wrote: > > Hi, > > > > the problem we are facing is not the transfer of backslash > > escape+non-specific character; we need puppet not to log the warns into > > the sysl

Re: [Puppet Users] Unrecognised escape sequences

2011-02-09 Thread M C
Our syslogs are full of " [...] Unrecognised escape sequence '\' [...] " Please help, thanks Greets, Matteo 2011/2/9 Felix Frank > On 02/09/2011 12:13 PM, M C wrote: > > Hi, > > > > it aint our issue: we dont actually need to include escape chars into

Re: [Puppet Users] Unrecognised escape sequences

2011-02-09 Thread M C
Hi, it aint our issue: we dont actually need to include escape chars into strings, our need is - for example - to escape delimitators ( ", ' ) inside command lines; in fact ,we're used to compose very complex tiny scripts with subshells for the 'command' field into 'exec' resources, etc.. Please

Re: [Puppet Users] Re: Setup 2.6 + apache, passenger

2010-09-15 Thread M C
hings looked as expected. I was then able to start the puppet master withing apache/passenger and after re-signing certificates for the clients, they're able to run against the passenger-enclosed puppet master. On Tue, Sep 14, 2010 at 5:03 PM, Nan Liu wrote: > On Tue, Sep 14, 2010

Re: [Puppet Users] Re: Setup 2.6 + apache, passenger

2010-09-14 Thread M C
can do to get puppet to work with passenger as we're rapidly approaching the point where we'd like to roll this out, but WEBbrick isn't going to satisfy our needs. On Tue, Sep 14, 2010 at 2:02 PM, Nan Liu wrote: > On Tue, Sep 14, 2010 at 9:35 AM, M C wrote: > >> I&

Re: [Puppet Users] Re: Setup 2.6 + apache, passenger

2010-09-14 Thread M C
I'm trying to use puppet with passenger as well. I'm running puppet 2.6.1 and I'm running into the issue mentioned under the troubleshooting section of http://projects.reductivelabs.com/projects/puppet/wiki/Using_Passenger. The instructions there are very vague. I've tried adding the ca_name sett

Re: [Puppet Users] Re: puppet.conf => client = false; Puppet 0.25.5

2010-09-09 Thread M C
I've been fighting with this same issue in version 2.6.0. Setting "client = false" in puppet.conf doesn't seem to do anything. Rather than modifying the init script for puppet like Christian, I updated /etc/sysconfig/puppet with the following line: PUPPET_EXTRA_OPTS=--no-client That's solved my

[Puppet Users] Help with "puppet kick"

2010-09-07 Thread M C
We would like to avoid pre-scheduled updates in our production environment by puppet. The solution I've come across is to instruct the puppet agent not to update on a schedule and instead use "puppet kick" from the puppet master to force updates when we're ready to deploy them. I can't seem to ge