Add wuiet volumes at UBC
[mirror/dsa-puppet.git] / modules / roles / manifests / static_mirror.pp
index 834ad24..233cbe8 100644 (file)
@@ -1,6 +1,16 @@
+# 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
+  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',
+  }
+
   include apache2::expires
   include apache2::rewrite