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:
a95dfc2
)
Create srv/static.d.o on mirrors
author
Peter Palfrader
<peter@palfrader.org>
Sat, 8 Dec 2012 13:56:01 +0000
(14:56 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 8 Dec 2012 13:56:01 +0000
(14:56 +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
bacdc46
..
ca9fea4
100644
(file)
--- a/
modules/roles/manifests/static_mirror.pp
+++ b/
modules/roles/manifests/static_mirror.pp
@@
-14,6
+14,12
@@
class roles::static_mirror inherits roles::static_base {
}
file {
+ "/srv/static.debian.org":
+ ensure => directory,
+ owner => staticsync,
+ group => staticsync,
+ mode => '02755'
+ ;
"/etc/cron.d/puppet-static-mirror":
content => "PATH=/usr/local/bin:/usr/bin:/bin\n@reboot staticsync sleep 60; static-mirror-run --one-stage /srv/static.debian.org bizet.debian.org:-live- > /dev/null\n",
;