X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Fstatic_mirror.pp;h=233cbe8fd0301c57db689465e870c103042f35db;hb=c8ec38cb0dd5fe062b3597140a1bab01729c109a;hp=4b4c4085fa35555293949a0aa058ae4c6aa50bab;hpb=706a3d41c060de8527a6070e831c4e6b66fff099;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/static_mirror.pp b/modules/roles/manifests/static_mirror.pp index 4b4c4085f..233cbe8fd 100644 --- a/modules/roles/manifests/static_mirror.pp +++ b/modules/roles/manifests/static_mirror.pp @@ -2,8 +2,15 @@ # # 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