Skip to content

Commit 9ec7ec7

Browse files
committed
Remove workaround for old facter versions
1 parent e23203a commit 9ec7ec7

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

manifests/server/params.pp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@
2323
$service_name = 'smbd'
2424
$nmbd_name = 'nmbd'
2525
}
26-
27-
# Currently Gentoo has $::osfamily = "Linux". This should change in
28-
# Factor 1.7.0 <http://projects.puppetlabs.com/issues/17029>, so
29-
# adding workaround.
30-
'Linux': {
31-
case $::operatingsystem {
32-
'Gentoo': { $service_name = 'samba' }
33-
default: { fail("${::operatingsystem} is not supported by this module.") }
34-
}
35-
}
3626
default: { fail("${::osfamily} is not supported by this module.") }
3727
}
3828
}

0 commit comments

Comments
 (0)