From 8b16a339b7caec483a3fd4699e42d8f93e429e19 Mon Sep 17 00:00:00 2001 From: Matt Shields Date: Thu, 19 Dec 2013 10:56:28 -0500 Subject: [PATCH] Update alias.pp Fixed to all module to be used with Amazon Linux (fork of RHEL/CentOS) facter osfamily operatingsystem operatingsystem => Amazon osfamily => Linux --- manifests/mod/alias.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/mod/alias.pp b/manifests/mod/alias.pp index 288069723..aab196eaf 100644 --- a/manifests/mod/alias.pp +++ b/manifests/mod/alias.pp @@ -1,7 +1,8 @@ class apache::mod::alias { - $icons_path = $::osfamily ? { + $icons_path = $::osfamily or $::operatingsystem ? { 'debian' => '/usr/share/apache2/icons', 'redhat' => '/var/www/icons', + 'amazon' => '/var/www/icons', 'freebsd' => '/usr/local/www/apache22/icons', } apache::mod { 'alias': }