Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixes #2342 converting to ::osfamily to support redhat based distros

  • Loading branch information...
commit b057e51387fe8e9ee7939feda22b8ddba720e865 1 parent c33db4a
Byron Miller authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 manifests/install.pp
View
8 manifests/install.pp
@@ -1,13 +1,13 @@
class passenger::install {
- case $::operatingsystem {
- redhat,centos,fedora,Scientific: {
+ case $::osfamily {
+ RedHat: {
include passenger::install::redhat
}
- Debian,Ubuntu: {
+ Debian: {
include passenger::install::debian
}
default: {
- fail("${::hostname}: This module does not support operatingsystem ${::operatingsystem}")
+ fail("${::hostname}: This module does not support operatingsystem ${::osfamily}")
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.