projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the pkglist fact. It's a) unused and b) slightly buggy
[mirror/dsa-puppet.git]
/
modules
/
roles
/
manifests
/
static_mirror.pp
diff --git
a/modules/roles/manifests/static_mirror.pp
b/modules/roles/manifests/static_mirror.pp
index
834ad24
..
233cbe8
100644
(file)
--- a/
modules/roles/manifests/static_mirror.pp
+++ b/
modules/roles/manifests/static_mirror.pp
@@
-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 {
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
include apache2::expires
include apache2::rewrite