From: Julien Cristau Date: Mon, 7 Aug 2017 20:03:33 +0000 (-0400) Subject: Rename cron.d entry to make it clear it comes from puppet X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=aba2dd60d755b8d73ef2ab1a2d35a378335ecd90;p=mirror%2Fdsa-puppet.git Rename cron.d entry to make it clear it comes from puppet --- diff --git a/modules/puppetmaster/manifests/init.pp b/modules/puppetmaster/manifests/init.pp index a5faeba59..08b400f51 100644 --- a/modules/puppetmaster/manifests/init.pp +++ b/modules/puppetmaster/manifests/init.pp @@ -27,9 +27,12 @@ class puppetmaster { } Concat::Fragment <<| tag == "onionbalance-services.yaml" |>> - file { '/etc/cron.d/update-fastly-ips': + file { '/etc/cron.d/puppet-update-fastly-ips': source => 'puppet:///modules/puppetmaster/update-fastly-ips.cron' } + file { '/etc/cron.d/update-fastly-ips': + ensure => absent, + } file { '/usr/local/bin/update-fastly-ips': source => 'puppet:///modules/puppetmaster/update-fastly-ips.sh', mode => '0555',