1 class roles::cdbuilder_local_mirror (
2 Stdlib::IP::Address $listen_address
6 $vhost_listen = "${listen_address}:80"
8 apache2::site { '010-local-mirror.cdbuilder.debian.org':
9 site => 'local-mirror.cdbuilder.debian.org',
10 content => template('roles/apache-local-mirror.cdbuilder.debian.org.erb'),
13 file { '/etc/apache2/ports.conf':
14 require => Package['apache2'],
16 # This file is maintained by puppet
18 Listen ${vhost_listen}
20 notify => Service['apache2'],