Skip to content

Commit e165f31

Browse files
committed
Fixed osfamily name
1 parent 0e72400 commit e165f31

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

manifests/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
) {
4545

4646
# Module compatibility check
47-
$compatible = [ 'debian', 'redhat']
47+
$compatible = [ 'Debian', 'RedHat']
4848
if ! ($::osfamily in $compatible) {
4949
fail("Module is not compatible with ${::operatingsystem}")
5050
}

manifests/install.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
}
2222

2323
$pythondev = $::osfamily ? {
24-
redhat => "${python}-devel",
25-
debian => "${python}-dev"
24+
RedHat => "${python}-devel",
25+
Debian => "${python}-dev"
2626
}
2727

2828
$dev_ensure = $python::dev ? {

0 commit comments

Comments
 (0)