diff options
-rw-r--r-- | manifests/init.pp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 6d8e5d4..ac1f934 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -175,6 +175,11 @@ class apache { && [ ${apache2_sites}-enabled/$vhost -ef ${apache2_sites}-available/$vhost ]'", notify => Exec["reload-apache2"], } + + file { "${apache2_sites}-enabled/$vhost": + ensure => absent, + notify => Exec["reload-apache2"], + } } default: { err ("Unknown ensure value: '$ensure'") } } |