summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorDavide Mendolia <idaf1er@gmail.com>2014-01-02 23:49:12 +0100
committerDavide Mendolia <idaf1er@gmail.com>2014-01-02 23:49:12 +0100
commite165f319501eda83ca1e996fa2c4cd06341657f9 (patch)
tree6ea9d2426f36eebd43ba44258955491ab5be7994 /manifests
parent0e72400bfd33df651c23f2f7c71c3c5cf8bfe815 (diff)
Fixed osfamily name
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp2
-rw-r--r--manifests/install.pp4
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 54dae45..451bdda 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -44,7 +44,7 @@ class python (
) {
# Module compatibility check
- $compatible = [ 'debian', 'redhat']
+ $compatible = [ 'Debian', 'RedHat']
if ! ($::osfamily in $compatible) {
fail("Module is not compatible with ${::operatingsystem}")
}
diff --git a/manifests/install.pp b/manifests/install.pp
index dc9bd76..b2debcc 100644
--- a/manifests/install.pp
+++ b/manifests/install.pp
@@ -21,8 +21,8 @@ class python::install {
}
$pythondev = $::osfamily ? {
- redhat => "${python}-devel",
- debian => "${python}-dev"
+ RedHat => "${python}-devel",
+ Debian => "${python}-dev"
}
$dev_ensure = $python::dev ? {