Skip to content

Commit

Permalink
cleanup zabbix::server class
Browse files Browse the repository at this point in the history
We don't support RHEL5 anymore. It is EOL
  • Loading branch information
bastelfreak committed Jun 5, 2017
1 parent 2511338 commit 00735e5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -471,13 +471,6 @@
}
}

# Workaround for: The redhat provider can not handle attribute enable
# This is only happening when using an redhat family version 5.x.
if $::osfamily == 'redhat' and $::operatingsystemrelease !~ /^5.*/ and $manage_service {
Service[$server_service_name] {
enable => true }
}

# Controlling the 'zabbix-server' service
if $pacemaker {
exec { 'prevent zabbix boot-start':
Expand Down Expand Up @@ -512,6 +505,7 @@
if $manage_service {
service { $server_service_name:
ensure => running,
enable => true,
hasstatus => true,
hasrestart => true,
require => [
Expand Down

0 comments on commit 00735e5

Please sign in to comment.