This is an old revision of the document!
[Puppet_EL_Repo] name=Puppet Enterprise Linux baseurl=http://yum.puppetlabs.com/el/6/products/x86_64/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-Key-Puppet [Puppet_EL_dependancies] name=Puppet Enterprise Dependencies baseurl=http://yum.puppetlabs.com/el/6/dependencies/x86_64/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-Key-Puppet
wget -O /etc/pki/rpm-gpg/RPM-GPG-Key-Puppet "http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabs"
In order to purge report i use this line in my cron or logrotate.
cd /var/lib/puppet/reports && find . -type f -name \*.yaml -mtime +12 -print0 | xargs -0 -n50 /bin/rm -f
Which purges all log older then 12 days.
$testdomain = $domain $testsub = split($testdomain, '[.]') $dr = $testsub[1]
erb -P -x -T '-' mytemplate.erb | ruby -c