Give wuiet.d.o access to the ubc projectb replica
[mirror/dsa-puppet.git] / modules / roles / manifests / static_mirror.pp
index 380ad3d..cf252d4 100644 (file)
@@ -1,31 +1,5 @@
-# a static mirror
-#
-# this receives pushes from the master and then usually serves the content to the public
-class roles::static_mirror {
-  include roles::static::base
-  include roles::static::srvdir
-
-  # mirrors talk only to masters
-  class { 'roles::static::ssh':
-    add_tag     => 'staticsync-master',
-    collect_tag => 'staticsync-mirror',
-  }
-
-  file { '/usr/local/bin/static-mirror-run':
-    source => 'puppet:///modules/roles/static-mirroring/static-mirror-run',
-    mode   => '0555',
-  }
-
-  file { '/usr/local/bin/static-mirror-run-all':
-    source => 'puppet:///modules/roles/static-mirroring/static-mirror-run-all',
-    mode   => '0555',
-  }
-
-  file { '/etc/cron.d/puppet-static-mirror': ensure => absent, }
-  concat::fragment { 'puppet-crontab--static-mirror':
-    target => '/etc/cron.d/puppet-crontab',
-    content  => @(EOF)
-      @reboot staticsync sleep 60; chronic static-mirror-run-all
-      | EOF
-  }
+# a static mirror.  It will get content for all components that it servers
+# from each component's master.
+class roles::static_mirror () {
+  include staticsync::static_mirror
 }