Added support for RHEL and did some syntax cleaning
Assume that "RedHat" also works where "CentOS" does.
This commit is contained in:
parent
e9aae1dcf6
commit
24ecb51f6f
63 changed files with 544 additions and 497 deletions
|
@ -6,7 +6,7 @@
|
|||
class inetd::server {
|
||||
|
||||
case $::operatingsystem {
|
||||
"centos","fedora","ubuntu","debian": {
|
||||
"centos","redhat","fedora","ubuntu","debian": {
|
||||
include inetd::server::xinetd
|
||||
}
|
||||
"openbsd": {
|
||||
|
@ -77,7 +77,7 @@ define inetd::service($ensure = present) {
|
|||
include inetd::server
|
||||
|
||||
case $::operatingsystem {
|
||||
"centos","ubuntu","debian": {
|
||||
"centos","redhat","ubuntu","debian": {
|
||||
service { $name:
|
||||
enable => $ensure ? {
|
||||
present => true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue