From 5300107b5fd9f00aa8d2ccaac462ea29bcd45fda Mon Sep 17 00:00:00 2001 From: Romain THERRAT Date: Wed, 28 Oct 2015 15:37:32 +0100 Subject: [PATCH] If ensure is set to present concat file should be ensured absent too. --- manifests/resource/vhost.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manifests/resource/vhost.pp b/manifests/resource/vhost.pp index 5916bb1..42f2622 100644 --- a/manifests/resource/vhost.pp +++ b/manifests/resource/vhost.pp @@ -123,7 +123,9 @@ default: { } } - concat { $file_real: } + concat { $file_real: + ensure => $ensure, + } # Add IPv6 Logic Check - Nginx service will not start if ipv6 is enabled # and support does not exist for it in the kernel.