group => root,
mode => '0644',
require => Apache::Module["macro"],
- notify => Service["apache"],
+ notify => Service["apache2"],
}
# apache mod_macro configuration
owner => root,
group => root,
mode => '0644',
- notify => Service["apache"],
+ notify => Service["apache2"],
}
# apache alias configuration
owner => root,
group => root,
mode => '0644',
- notify => Service["apache"],
+ notify => Service["apache2"],
}
# apache autoindex configuration
owner => root,
group => root,
mode => '0644',
- notify => Service["apache"],
+ notify => Service["apache2"],
}
file { "${www_folder}":
# Legacy configuration
file { [ "${conf_sites}-available/default", "${conf_sites}-enabled/000-default" ]:
ensure => absent,
- notify => Service["apache"],
+ notify => Service["apache2"],
}
# default site configuration
owner => root,
group => root,
mode => '0644',
- notify => Service["apache"],
+ notify => Service["apache2"],
}
file { "${conf_sites}-enabled/000-default.conf":
owner => root,
group => root,
ensure => "${conf_sites}-available/default.conf",
- notify => Service["apache"],
+ notify => Service["apache2"],
}
# https proxy configuration
owner => root,
group => root,
mode => '0644',
- notify => Service["apache"],
+ notify => Service["apache2"],
}
# TODO: remove this in the future
owner => root,
group => root,
mode => '0644',
- notify => Service["apache"],
+ notify => Service["apache2"],
}
# Notify this when apache needs a reload. This is only needed when