Restart apache when config files are updated

This will allow the updates to httpd.conf to be applied without
needing to restart each git server manually.

Change-Id: I2d4d049c651642c41039d2f56bc8bb4aba12dd59
This commit is contained in:
Joshua Hesketh
2015-06-17 11:45:09 +10:00
parent d2e1605687
commit 81e09962b4

View File

@@ -152,6 +152,7 @@ class cgit(
mode => '0644',
content => template('cgit/httpd.conf.erb'),
require => Package['httpd'],
notify => Service['httpd'],
}
file { '/etc/httpd/conf.d/ssl.conf':
@@ -161,6 +162,7 @@ class cgit(
mode => '0644',
content => template('cgit/ssl.conf.erb'),
require => Package[$::apache::params::ssl_package],
notify => Service['httpd'],
}
file { $cgitdir: