Skip to content

Commit

Permalink
Update alias.pp
Browse files Browse the repository at this point in the history
Fixed to all module to be used with Amazon Linux (fork of RHEL/CentOS)

facter osfamily operatingsystem
operatingsystem => Amazon
osfamily => Linux
  • Loading branch information
mattboston committed Dec 19, 2013
1 parent 03a38fa commit 8b16a33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/mod/alias.pp
Original file line number Diff line number Diff line change
@@ -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': }
Expand Down

0 comments on commit 8b16a33

Please sign in to comment.