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.
	/usr/sbin/visudo -f dsa-puppet/modules/sudo/files/sudoers

and add something like

	lucas           dillon=(staticsync)             NOPASSWD: /usr/local/bin/static-update-component
	ssl::service { ''            : ensure => 'ifstatic', notify  => Exec['service apache2 reload'], key => true, }

Adding a mirror

Note: This will probably temporarily break apache on the new mirror host.