ssl::service { 'micronews.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
ssl::service { 'mozilla.debian.net' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
ssl::service { 'news.debian.net' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'sources.debian.net' : ensure => "present", notify => Exec['service apache2 reload'], key => true, }
ssl::service { 'timeline.debian.net' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
ssl::service { 'video.debian.net' : ensure => "present", notify => Exec['service apache2 reload'], key => true, }
ssl::service { 'wnpp-by-tags.debian.net' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
</FilesMatch>
</Macro>
+<Macro vstatic-vhost-extra-sources.debian.net>
+ Redirect permanent / https://sources.debian.org/
+</Macro>
+
<%=
def vhost(lines, sn, kwargs={})
lines = []
vhost(lines, "mozilla.debian.net" , :ssl => true, :ssl_optional => true)
+vhost(lines, "sources.debian.net" , :ssl => true, :extra => true)
vhost(lines, "backports.debian.org" , :ssl => true)
vhost(lines, "incoming.debian.org" , :ssl => true, :ssl_optional => true)
vhost(lines, "incoming.ports.debian.org" , :ssl => true, :ssl_optional => true)