From: Adam D. Barratt Date: Tue, 29 Oct 2019 12:22:26 +0000 (+0000) Subject: howto/static-mirroring: static_mirror_nopush -> get_triggered:false X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-wiki.git;a=commitdiff_plain;h=43b90a99a839ed482dd087f686034d19faba97cb howto/static-mirroring: static_mirror_nopush -> get_triggered:false Signed-off-by: Adam D. Barratt --- diff --git a/input/howto/static-mirroring.creole b/input/howto/static-mirroring.creole index b2c9dc0..f6d2b5c 100644 --- a/input/howto/static-mirroring.creole +++ b/input/howto/static-mirroring.creole @@ -50,13 +50,14 @@ and Note: This might temporarily break apache on the new mirror host. -* Add {{{roles::static_mirror}}} and {{{roles::static_mirror_nopush}}} to the {{{classes}}} stanza in {{{data/nodes/$HOSTNAME.yaml}}}. +* Add {{{roles::static_mirror}}} to the {{{classes}}} stanza in {{{data/nodes/$HOSTNAME.yaml}}}. +* Add {{{staticsync::static_mirror::get_triggered: false}}} to {{{data/nodes/$HOSTNAME.yaml}}}. * Add {{{staticsync}}} group to host's {{{allowedGroups}}} attribute in ldap. * Run puppet twice on new static mirror once staticsync exists. * Run puppet on static masters. * On the static mirror: {{{install -d -o staticsync -g staticsync -m 02755 /srv/static.debian.org}}}. * Run the command from {{{/etc/cron.d/puppet-static-mirror}}} on the mirror. * Make sure apache works on the mirror. This might require deploying SSL keys. -* Remove mirror from {{{static_mirror_nopush}}}. +* Remove {{{staticsync::static_mirror::get_triggered: false}}} from {{{data/nodes/$HOSTNAME.yaml}}}. * Run puppet on static masters. * Rotate mirror.