From: Silvio Rhatto Date: Fri, 31 Jul 2015 20:19:10 +0000 (-0300) Subject: Remove legacy config X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=37b13a9a980da09abea7e73082a82bd58860c520;p=puppet-apache.git Remove legacy config --- diff --git a/manifests/site.pp b/manifests/site.pp index 231a326..00d6f3c 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -115,6 +115,12 @@ define apache::site( } } + # Legacy configuration + file { [ "${apache::sites}-available/$vhost", + "${apache::sites}-enabled/$vhost" ]: + ensure => absent, + } + case $source { true: { file { "${apache::sites}-available/$vhost.conf":