ensure => $ensure,
content => $content,
require => Package['apache2'],
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
} else {
file { "/etc/apache2/conf.d/${name}":
ensure => $ensure,
source => $source,
require => Package['apache2'],
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
} else {
ensure => $ensure,
content => $content,
require => Package['apache2'],
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
} else {
file { "/etc/apache2/conf-available/${name}.conf":
ensure => $ensure,
source => $source,
require => Package['apache2'],
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
file { "/etc/apache2/conf-enabled/${name}.conf":
ensure => $link_ensure,
target => "../conf-available/${name}.conf",
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
}
ensure => $ensure,
content => $content,
require => Package['apache2'],
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
} else {
file { $target:
ensure => $ensure,
source => $source,
require => Package['apache2'],
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
file { "/etc/apache2/sites-enabled/${name}":
ensure => absent,
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
file { $symlink:
ensure => link,
target => $link_target,
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
} else {
file { $symlink:
ensure => absent,
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
}
}
ssl::service { 'munin.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
file { '/etc/munin/munin-conf.d':
ensure => directory,
class roles::buildd_master {
ssl::service { 'buildd.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
file { '/etc/ssh/userkeys/wb-buildd.more':
class roles::contributors {
ssl::service { 'contributors.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
$rabbit_password = $roles::pubsub::parameters::rabbit_password
ssl::service { 'db.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
roles::pubsub::config { 'generate':
package { 'libapache2-mod-wsgi': ensure => installed, }
ssl::service { 'debtags.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
key => true,
}
class roles::dgit_browse {
ssl::service { 'browse.dgit.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
key => true,
}
}
file { '/etc/apache2/conf-enabled/cgit.conf':
ensure => absent,
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
apache2::site { '010-browse.dgit.debian.org':
class roles::dgit_git {
ssl::service { 'git.dgit.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
key => true,
}
}
ssl::service { 'ftp-master.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
if has_role('nagiosmaster') {
# include nagios::server
ssl::service { 'nagios.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
if has_role('bugs_base') {
ssl::service { 'bugs.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
if has_role('bugs_master') {
- ssl::service { 'bugs-master.debian.org': notify => Service['apache2'], key => true, }
+ ssl::service { 'bugs-master.debian.org': notify => Exec['service apache2 reload'], key => true, }
}
if has_role('ftp_master') {
if has_role('api.ftp-master') {
ssl::service { 'api.ftp-master.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
if has_role('manpages') {
- ssl::service { 'manpages.debian.org': notify => Service['apache2'], key => true, }
+ ssl::service { 'manpages.debian.org': notify => Exec['service apache2 reload'], key => true, }
}
if has_role('security_mirror') {
}
if has_role('people') {
- ssl::service { 'people.debian.org': notify => Service['apache2'], key => true, }
+ ssl::service { 'people.debian.org': notify => Exec['service apache2 reload'], key => true, }
onion::service { 'people.debian.org': port => 80, target_address => 'people.debian.org', target_port => 80, }
}
}
if has_role('cgi.d.o') {
- ssl::service { 'cgi.debian.org': notify => Service['apache2'], key => true, }
+ ssl::service { 'cgi.debian.org': notify => Exec['service apache2 reload'], key => true, }
}
if has_role('keyring') {
}
if has_role('packages') {
- ssl::service { 'packages.debian.org': notify => Service['apache2'], key => true, }
+ ssl::service { 'packages.debian.org': notify => Exec['service apache2 reload'], key => true, }
}
if has_role('qamaster') {
- ssl::service { 'qa.debian.org': notify => Service['apache2'], key => true, }
+ ssl::service { 'qa.debian.org': notify => Exec['service apache2 reload'], key => true, }
}
if has_role('packagesqamaster') {
- ssl::service { 'packages.qa.debian.org': notify => Service['apache2'], key => true, }
+ ssl::service { 'packages.qa.debian.org': notify => Exec['service apache2 reload'], key => true, }
}
if has_role('gobby_debian_org') {
- ssl::service { 'gobby.debian.org': notify => Service['apache2'], key => true, tlsaport => [443, 6523], }
+ ssl::service { 'gobby.debian.org': notify => Exec['service apache2 reload'], key => true, tlsaport => [443, 6523], }
}
if has_role('search_backend') {
}
if has_role('veyepar.debian.org') {
- ssl::service { 'veyepar.debian.org': notify => Service['apache2'], key => true, }
+ ssl::service { 'veyepar.debian.org': notify => Exec['service apache2 reload'], key => true, }
}
if has_role('httpredir') {
}
if has_role('planet_search') {
- ssl::service { 'planet-search.debian.org': notify => Service['apache2'], key => true, }
+ 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 => Service['apache2'], key => true, }
+ ssl::service { 'i18n.debian.org': notify => Exec['service apache2 reload'], key => true, }
}
if has_role('l10n.d.o') {
- ssl::service { 'l10n.debian.org': notify => Service['apache2'], key => true, }
+ ssl::service { 'l10n.debian.org': notify => Exec['service apache2 reload'], key => true, }
}
if has_role('dedup.d.n') {
- ssl::service { 'dedup.debian.net': notify => Service['apache2'], key => true, }
+ ssl::service { 'dedup.debian.net': notify => Exec['service apache2 reload'], key => true, }
}
if has_role('pet.d.n') {
- ssl::service { 'pet.debian.net': notify => Service['apache2'], key => true, }
- ssl::service { 'pet-devel.debian.net': notify => Service['apache2'], key => true, }
+ ssl::service { 'pet.debian.net': notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'pet-devel.debian.net': notify => Exec['service apache2 reload'], key => true, }
}
if has_role('ports-master') {
}
ssl::service { 'jenkins.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
}
ssl::service { 'keyring.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
key => true,
}
}
class roles::lists {
ssl::service { 'lists.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
dnsextras::tlsa_record{ 'tlsa-mailport':
class roles::nm {
ssl::service { 'nm.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
class roles::piuparts {
ssl::service { 'piuparts.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
key => true,
}
}
class roles::release {
ssl::service { 'release.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
class roles::rtmaster {
ssl::service { 'rt.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
class roles::search_frontend {
ssl::service { 'search.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
key => true,
}
}
class roles::security_master {
ssl::service { 'security-master.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
key => true,
}
class roles::security_tracker {
ssl::service { 'security-tracker.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
class roles::sso {
ssl::service { 'sso.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
content => template('roles/apache-www.debian.org.erb'),
}
- ssl::service { 'dsa.debian.org' : ensure => "ifstatic", notify => Service['apache2'], }
- ssl::service { 'www.debian.org' : ensure => "ifstatic", notify => Service['apache2'], }
- ssl::service { 'rtc.debian.org' : ensure => "ifstatic", notify => Service['apache2'], }
- ssl::service { 'd-i.debian.org' : ensure => "ifstatic", notify => Service['apache2'], }
+ ssl::service { 'dsa.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], }
+ ssl::service { 'www.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], }
+ ssl::service { 'rtc.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], }
+ ssl::service { 'd-i.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], }
# do
- ssl::service { 'appstream.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'backports.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'bits.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'blends.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'lintian.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'onion.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'release.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'security-team.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'www.ports.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
+ ssl::service { 'appstream.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'backports.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'bits.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'blends.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'lintian.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'onion.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'release.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'security-team.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'www.ports.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
# dn
- ssl::service { 'news.debian.net' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'micronews.debian.net' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'debaday.debian.net' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'timeline.debian.net' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'wnpp-by-tags.debian.net' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
+ ssl::service { 'news.debian.net' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'micronews.debian.net' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'debaday.debian.net' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'timeline.debian.net' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'wnpp-by-tags.debian.net' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
# dc
- ssl::service { 'debconf0.debconf.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'debconf1.debconf.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'debconf2.debconf.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'debconf3.debconf.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'debconf4.debconf.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'debconf5.debconf.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'debconf6.debconf.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'debconf7.debconf.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { '10years.debconf.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'es.debconf.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'fr.debconf.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
- ssl::service { 'miniconf10.debconf.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, }
+ ssl::service { 'debconf0.debconf.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'debconf1.debconf.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'debconf2.debconf.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'debconf3.debconf.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'debconf4.debconf.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'debconf5.debconf.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'debconf6.debconf.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'debconf7.debconf.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { '10years.debconf.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'es.debconf.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'fr.debconf.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'miniconf10.debconf.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
if has_role('static_mirror_onion') {
if ! $onion_v4_addr {
if $::apache2 and $syncproxy_name != 'unknown' {
include apache2::ssl
ssl::service { "$syncproxy_name":
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
key => true,
}
apache2::site { '010-syncproxy.debian.org':
class roles::tracker {
ssl::service { 'tracker.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
key => true,
}
}
class roles::udd {
ssl::service { 'udd.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
class roles::vote {
ssl::service { 'vote.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
}
}
class roles::wiki {
ssl::service { 'wiki.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
key => true,
}
rsync::site { 'wiki':
class roles::www_master {
ssl::service { 'www-master.debian.org':
- notify => Service['apache2'],
+ notify => Exec['service apache2 reload'],
key => true,
}
}