From 37b13a9a980da09abea7e73082a82bd58860c520 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 31 Jul 2015 17:19:10 -0300 Subject: Remove legacy config --- manifests/site.pp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'manifests') 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": -- cgit v1.2.3