-# 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
+# Static mirrors register themselves via a stored-conf /etc/static-clients.conf
+# that the masters collect. Mirrors can always pull, but they only get
+# triggered if they are in /etc/static-clients.conf. So during initial
+# setup it might make sense to not get triggered and thus block updates of
+# components until all mirrors are in sync; set $get_triggered = false for that.
+#
+class staticsync::static_mirror (
+ Boolean $get_triggered = true,
+) {
+ include staticsync::base
+ include staticsync::srvdir