diff options
author | Davide Mendolia <idaf1er@gmail.com> | 2014-01-02 23:49:12 +0100 |
---|---|---|
committer | Davide Mendolia <idaf1er@gmail.com> | 2014-01-02 23:49:12 +0100 |
commit | e165f319501eda83ca1e996fa2c4cd06341657f9 (patch) | |
tree | 6ea9d2426f36eebd43ba44258955491ab5be7994 /manifests | |
parent | 0e72400bfd33df651c23f2f7c71c3c5cf8bfe815 (diff) |
Fixed osfamily name
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 2 | ||||
-rw-r--r-- | manifests/install.pp | 4 |
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 ? { |