From: Peter Palfrader Date: Sat, 11 Oct 2014 09:48:20 +0000 (+0200) Subject: fix filename X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-wiki.git;a=commitdiff_plain;h=bc236a86eea7e455a8611b11e42ca3878d6593f7 fix filename --- diff --git a/input/howto/static-component.creole b/input/howto/static-component.creole deleted file mode 100644 index 711cc55..0000000 --- a/input/howto/static-component.creole +++ /dev/null @@ -1,36 +0,0 @@ -= static mirroring - -The static mirroring system mirrors //components//, i.e. directory trees from -their individual //source// hosts via //static-master// hosts to the -//static-mirrors//. - -The static-master can be configured per source. The mirrors are the same set -for all components. - -== Adding a new static component - -Using already configured source and master hosts. - -* Pick a component name, e.g., {{{debaday.debian.net}}} - -* Pick/Learn source host, pick a master, and add to {{{dsa-puppet/modules/roles/files/static-mirroring/static-components.conf}}}: -{{{ - # - dillon.debian.org debaday.debian.net dillon.debian.org /srv/debaday.debian.net/htdocs -}}} - -* Give sudo to run the right {{{static-update-component}}} to the appropriate group: -{{{ - /usr/sbin/visudo -f dsa-puppet/modules/sudo/files/sudoer -}}} -and add something like -{{{ - lucas dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debaday.debian.net -}}} - -* Add the vhost config on mirrors: -{{{ - vi dsa-puppet/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb -}}} - -* run puppet on the master, the source, and all the mirrors. Check {{{dsa-puppet/hieradata/common.yaml}}. diff --git a/input/howto/static-mirroring.creole b/input/howto/static-mirroring.creole new file mode 100644 index 0000000..711cc55 --- /dev/null +++ b/input/howto/static-mirroring.creole @@ -0,0 +1,36 @@ += static mirroring + +The static mirroring system mirrors //components//, i.e. directory trees from +their individual //source// hosts via //static-master// hosts to the +//static-mirrors//. + +The static-master can be configured per source. The mirrors are the same set +for all components. + +== Adding a new static component + +Using already configured source and master hosts. + +* Pick a component name, e.g., {{{debaday.debian.net}}} + +* Pick/Learn source host, pick a master, and add to {{{dsa-puppet/modules/roles/files/static-mirroring/static-components.conf}}}: +{{{ + # + dillon.debian.org debaday.debian.net dillon.debian.org /srv/debaday.debian.net/htdocs +}}} + +* Give sudo to run the right {{{static-update-component}}} to the appropriate group: +{{{ + /usr/sbin/visudo -f dsa-puppet/modules/sudo/files/sudoer +}}} +and add something like +{{{ + lucas dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debaday.debian.net +}}} + +* Add the vhost config on mirrors: +{{{ + vi dsa-puppet/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +}}} + +* run puppet on the master, the source, and all the mirrors. Check {{{dsa-puppet/hieradata/common.yaml}}.