* 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}}}:
+* Pick/Learn source host, pick a master, and add to {{{dsa-puppet/modules/roles/misc/static-components.yaml}}}:
{{{
- # <master> <service> <source host> <directory> <extra push hosts, comma separated>
- dillon.debian.org debaday.debian.net dillon.debian.org /srv/debaday.debian.net/htdocs
+ debaday.debian.net:
+ master: static-master-manda-01.debian.org
+ source: dillon.debian.org:/srv/debaday.debian.net/htdocs
}}}
* Give sudo to run the right {{{static-update-component}}} to the appropriate group:
}}}
* Add the vhost config on mirrors:
+** vi {{{dsa-puppet/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb}}}
+and add
{{{
- vi dsa-puppet/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb
+ vhost(lines, "debaday.debian.net" , :ssl => true)
+}}}
+** In {{{dsa-puppet/modules/roles/manifests/static_mirror_web.pp}}}, add:
+{{{
+ ssl::service { 'debaday.debian.net' : ensure => 'ifstatic', notify => Exec['service apache2 reload'], key => true, }
}}}
-* run puppet on the master, the source, and all the mirrors. Check {{{dsa-puppet/hieradata/common.yaml}}}.
+* run puppet on the master, the source, and all the mirrors. Check {{{dsa-puppet/nodes/*.yaml}}}.
== Adding a mirror