Skip to content

Commit

Permalink
Use CentOS code for Red Hat also
Browse files Browse the repository at this point in the history
  • Loading branch information
fritz committed Aug 24, 2011
1 parent 20f9f91 commit 5135db8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifests/classes/dependencies.pp
@@ -1,6 +1,6 @@
class rvm::dependencies {
case $operatingsystem {
Ubuntu: { require rvm::dependencies::ubuntu }
CentOS: { require rvm::dependencies::centos }
CentOS,RedHat: { require rvm::dependencies::centos }
}
}
4 changes: 2 additions & 2 deletions manifests/classes/passenger.pp
Expand Up @@ -11,7 +11,7 @@

case $operatingsystem {
Ubuntu: { include rvm::passenger::apache::ubuntu::pre }
CentOS: { include rvm::passenger::apache::centos::pre }
CentOS,RedHat: { include rvm::passenger::apache::centos::pre }
}

class {
Expand All @@ -28,6 +28,6 @@

case $operatingsystem {
Ubuntu: { include rvm::passenger::apache::ubuntu::post }
CentOS: { include rvm::passenger::apache::centos::post }
CentOS,RedHat: { include rvm::passenger::apache::centos::post }
}
}

0 comments on commit 5135db8

Please sign in to comment.