Re: [Puppet Users] Re: invalid checksum using template

2014-11-19 Thread Felice Pizzurro
main]/Test/File[/tmp/test]/ensure: change from absent to present failed: Could not retrieve content for {FOO}. from filebucket: Error 400 on SERVER: Invalid checksum ".\n" 2014-11-18 18:36 GMT+01:00 Josh Cooper : > > > On Tue, Nov 18, 2014 at 7:28 AM, jcbollinger > wro

[Puppet Users] invalid checksum using template

2014-11-17 Thread Felice Pizzurro
Hi all, I'm simply tryng to push a file with content in template: file {'/tmp/test': ensure => present, content => template('modulename/template_file.erb') } Template file contains a line like this: {FOO}. note final dot character. The file is correctly created but I have the following er

Re: [Puppet Users] logrotate and augeas

2012-05-08 Thread Felice Pizzurro
Thanks a lot! it works fine! As in rsyslog logrotate conf file there are many rules, I used this syntax to retrieve the correct rule instead to define rule index manually: augtool> print /files/etc/logrotate.d/rsyslog/rule[file =~ regexp("/var/log/mail.*")]/file[. =~ regexp("/var/log/mail.*")

[Puppet Users] logrotate and augeas

2012-05-07 Thread Felice Pizzurro
Hi all, I have to modify logrotate conf file for rsyslog with augeas. I have this configuration: /var/log/syslog { rotate 7 daily missingok notifempty delaycompress compress postrotate reload rsyslog >/dev/null 2>&1 || true endscript } /var/log/mail.info

[Puppet Users] override parametrized classes

2012-03-20 Thread Felice Pizzurro
Hi all, In my datacenter I've a configuration like this: class apache2 ($max_fork=100, $monitor=true) { # some implementation that utilize $max_fork and $monitor variables } class mysql ($max_conn=200, $monitor=true) { # some implementation that utilize $max_conn and $monitor variables }