projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f39815c
)
Move crontab static-mirror into dsa-puppet-stuff
author
Peter Palfrader
<peter@palfrader.org>
Mon, 25 Dec 2017 12:19:06 +0000
(13:19 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Mon, 25 Dec 2017 12:19:06 +0000
(13:19 +0100)
modules/roles/manifests/static_mirror.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/static_mirror.pp
b/modules/roles/manifests/static_mirror.pp
index
e7050fc
..
66c7f52
100644
(file)
--- a/
modules/roles/manifests/static_mirror.pp
+++ b/
modules/roles/manifests/static_mirror.pp
@@
-22,7
+22,13
@@
class roles::static_mirror {
}
file { '/etc/cron.d/puppet-static-mirror':
- content => "MAILTO=root\nPATH=/usr/local/bin:/usr/bin:/bin\n@reboot staticsync sleep 60; chronic static-mirror-run-all\n",
+ ensure => absent,
+ }
+ concat::fragment { 'dsa-puppet-stuff--static-mirror':
+ target => '/etc/cron.d/dsa-puppet-stuff',
+ content => @(EOF)
+ @reboot staticsync sleep 60; chronic static-mirror-run-all
+ | EOF
}
$onion_v4_addr = $::hostname ? {