X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Froles%2Fmanifests%2Fstatic_mirror.pp;h=ca9fea47359dc986c92a54e686f86e05af11ec57;hb=cc03b421ddfcfc5e9a9e6447fa87cfd9a7e251fc;hp=9b10b1039b9516eef4915a24db8a48dc88ce7aa1;hpb=d6e20ea4c083d9978ad4c3e5eccaffa2e887698a;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/static_mirror.pp b/modules/roles/manifests/static_mirror.pp index 9b10b1039..ca9fea473 100644 --- a/modules/roles/manifests/static_mirror.pp +++ b/modules/roles/manifests/static_mirror.pp @@ -1,4 +1,4 @@ -class roles::static_mirror inherits roles::mirror_base { +class roles::static_mirror inherits roles::static_base { file { '/etc/ssh/userkeys/staticsync': content => template('roles/static-mirror-authorized_keys.erb'), @@ -14,6 +14,12 @@ class roles::static_mirror inherits roles::mirror_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", ;