mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-21 11:18:06 +00:00
dvwa + gitlist: added notifies to tidy default sites enabled
This commit is contained in:
@@ -45,7 +45,7 @@ class dvwa::apache {
|
||||
::apache::vhost { 'dvwa':
|
||||
port => $port,
|
||||
docroot => $docroot,
|
||||
|
||||
notify => Tidy['dvwa remove default site']
|
||||
} ->
|
||||
|
||||
exec { 'enable php module':
|
||||
|
||||
@@ -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'})
|
||||
|
||||
Reference in New Issue
Block a user