- file { '/var/log/apache2':
- ensure => directory,
- mode => '0755',
- }
- file { '/etc/cron.d/puppet-weblog-provider':
- content => "SHELL=/bin/bash\n\n0 1 * * * weblogsync sleep $((RANDOM \% 1800)); rsync -a --delete-excluded --include 'www.debian.org-access.log-*gz' --include '*-public-access.log-*gz' --exclude '**' /var/log/apache2/. weblogsync@wolkenstein.debian.org:-weblogs-incoming-\n",
+ file { '/etc/cron.d/puppet-weblog-provider': ensure => absent, }
+ concat::fragment { 'dsa-puppet-stuff--weblog-provider':
+ target => '/etc/cron.d/dsa-puppet-stuff',
+ content => @(EOF)
+ 0 1 * * * weblogsync sleep $((RANDOM \% 1800)); rsync -a --delete-excluded --include 'www.debian.org-access.log-*gz' --include '*-public-access.log-*gz' --exclude '**' /var/log/apache2/. weblogsync@wolkenstein.debian.org:-weblogs-incoming-
+ | EOF