+# 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