From 5d8b87a791b65eef11023b8a84e57510f6d3b4fb Mon Sep 17 00:00:00 2001 From: Dave Heward Date: Mon, 8 Jun 2015 16:11:59 +0100 Subject: [PATCH] Added Amazon OS support into switch on config_file_default_purge param. Otherwise, use of this parameter causes an error. --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 95f3c8e..bcc412e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -449,7 +449,7 @@ if $nginx::config_file_default_purge { $default_site = $::operatingsystem ? { /(?i:Debian|Ubuntu|Mint)/ => [ 'default' ], - /(?i:Redhat|Centos|Scientific|Fedora)/ => 'default.conf', + /(?i:Redhat|Centos|Amazon|Scientific|Fedora)/ => 'default.conf', } file { "${nginx::vdir}/${default_site}":