Added support for RHEL and did some syntax cleaning

Assume that "RedHat" also works where "CentOS" does.
This commit is contained in:
Ossi Salmi 2012-09-05 16:42:02 +03:00
parent e9aae1dcf6
commit 24ecb51f6f
63 changed files with 544 additions and 497 deletions

View file

@ -3,7 +3,7 @@
class cairo {
package { "cairo":
name => $operatingsystem ? {
name => $::operatingsystem ? {
debian => "libcairo2",
ubuntu => "libcairo2",
default => "cairo",
@ -19,7 +19,7 @@ class cairo {
class cairo::python inherits cairo {
package { "pycairo":
name => $operatingsystem ? {
name => $::operatingsystem ? {
debian => "python-cairo",
ubuntu => "python-cairo",
default => "pycairo",