dvwa + gitlist: added notifies to tidy default sites enabled

This commit is contained in:
ts
2019-02-19 12:13:47 +00:00
parent 32117b0576
commit 0c3d070eb1
2 changed files with 2 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ class dvwa::apache {
::apache::vhost { 'dvwa':
port => $port,
docroot => $docroot,
notify => Tidy['dvwa remove default site']
} ->
exec { 'enable php module':

View File

@@ -13,6 +13,7 @@ class gitlist_040::apache {
::apache::vhost { 'www-gitlist':
port => $port,
docroot => $docroot,
notify => Tidy['gl remove default site']
}
ensure_resource('tidy','gl remove default site', {'path'=>'/etc/apache2/sites-enabled/000-default.conf'})