Concat::Fragment <<| tag == "onionbalance-services.yaml" |>>
file { '/etc/cron.d/puppet-update-fastly-ips':
- source => 'puppet:///modules/puppetmaster/update-fastly-ips.cron'
+ ensure => absent,
}
file { '/etc/cron.d/update-fastly-ips':
ensure => absent,
}
+ concat::fragment { 'dsa-puppet-stuff---fastly-ips':
+ target => '/etc/cron.d/dsa-puppet-stuff',
+ content => @(EOF)
+ @daily root /usr/local/bin/update-fastly-ips /srv/puppet.debian.org/puppet-facts/fastly_ranges.yaml
+ | EOF
+ }
file { '/usr/local/bin/update-fastly-ips':
source => 'puppet:///modules/puppetmaster/update-fastly-ips.sh',
mode => '0555',