create ~staticsync/static-master -> /srv/static.debian.org on static-masters
authorPeter Palfrader <peter@palfrader.org>
Thu, 21 Sep 2017 15:21:11 +0000 (17:21 +0200)
committerPeter Palfrader <peter@palfrader.org>
Thu, 21 Sep 2017 15:21:11 +0000 (17:21 +0200)
modules/roles/manifests/static_master.pp

index ab561ab..cabec64 100644 (file)
@@ -14,6 +14,11 @@ 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',
+       }
+
        # export some information for the onion.debian.org build
        if $::hostname in [dillon] {
                file { '/srv/puppet.debian.org':