class roles::www_mirror { # see also static mirrors. $wwwdo_document_root = '/srv/www.debian.org/www' $vhost_listen = '*:80' $vhost_listen_443 = '*:443' apache2::site { '005-www.debian.org': site => 'www.debian.org', content => template('roles/apache-www.debian.org.erb'), } ssl::service { 'www.debian.org': notify => Service['apache2'], } }