Copy the ssh_keys_users facter from Tor
[mirror/dsa-puppet.git] / modules / roles / manifests / static_master.pp
index 82cd338..6a36ed3 100644 (file)
@@ -7,9 +7,9 @@ class roles::static_master {
   include roles::static::base
   include roles::static::srvdir
 
-  # masters need to talk to mirrors and sources
+  # masters need to talk to mirrors and sources and themselves
   class { 'roles::static::ssh':
-    add_tag     => [ 'staticsync-mirror', 'staticsync-source' ],
+    add_tag     => [ 'staticsync-mirror', 'staticsync-source', 'staticsync-master' ],
     collect_tag => 'staticsync-master',
   }
 
@@ -35,23 +35,4 @@ class roles::static_master {
     owner  => 'staticsync',
     group  => 'staticsync',
   }
-
-  # export some information for the onion.debian.org build
-  if $::hostname in [dillon] {
-    file { '/srv/puppet.debian.org':
-      ensure => directory
-    }
-    file { '/srv/puppet.debian.org/puppet-facts':
-      ensure => directory
-    }
-    concat { '/srv/puppet.debian.org/puppet-facts/onionbalance-services.yaml':
-      notify  => Exec['rebuild-onion-website'],
-    }
-    Concat::Fragment <<| tag == 'onionbalance-services.yaml' |>>
-
-    exec { 'rebuild-onion-website':
-      command => '/bin/su - staticsync -c \'make -C /srv/onion-master.debian.org\'',
-      refreshonly => true,
-    }
-  }
 }