include roles::snapshot_shell
}
- if has_role('planet_master') {
- include roles::planet_master
- }
- if has_role('planet_search') {
- ssl::service { 'planet-search.debian.org': notify => Exec['service apache2 reload'], key => true, }
- }
-
if has_role('i18n.d.o') {
ssl::service { 'i18n.debian.org': notify => Exec['service apache2 reload'], key => true, }
}
class roles::planet_master {
- include apache2::ssl
- apache2::config { 'puppet-debianhosts':
- ensure => 'absent',
- }
- apache2::site { 'planet-master.debian.org':
- content => template('roles/planet_master/planet-master.debian.org.erb')
- }
- ssl::service { 'planet-master.debian.org':
- notify => Exec['service apache2 reload'],
- key => true,
- }
+ include apacke2
+ include apache2::ssl
+ apache2::config { 'puppet-debianhosts':
+ ensure => 'absent',
+ }
+ apache2::site { 'planet-master.debian.org':
+ content => template('roles/planet_master/planet-master.debian.org.erb')
+ }
+ ssl::service { 'planet-master.debian.org':
+ notify => Exec['service apache2 reload'],
+ key => true,
+ }
}