X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Fstatic_master.pp;h=c16870a1f1ce97afc24e32d24d86423aea69b3be;hb=0b90b9722d512bc8e6bc0a90995b3ace1b1b68ed;hp=c2aec647b1b38260d5f6bda8df007928ff188223;hpb=0f96b07aa650108bf5fc46a3182d324a391e5a0f;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/static_master.pp b/modules/roles/manifests/static_master.pp index c2aec647b..c16870a1f 100644 --- a/modules/roles/manifests/static_master.pp +++ b/modules/roles/manifests/static_master.pp @@ -1,6 +1,6 @@ class roles::static_master { - include roles::static_base + include roles::static_srvdir file { '/usr/local/bin/static-master-run': source => 'puppet:///modules/roles/static-mirroring/static-master-run', @@ -14,6 +14,17 @@ class roles::static_master { content => template('roles/static-mirroring/static-clients.conf.erb'), } + file { "/home/staticsync/static-master": + ensure => link, + target => '/srv/static.debian.org', + } + file { '/srv/static.debian.org/master': + ensure => directory, + mode => '0755', + owner => 'staticsync', + group => 'staticsync', + } + # export some information for the onion.debian.org build if $::hostname in [dillon] { file { '/srv/puppet.debian.org':