Skip to content

Commit

Permalink
Merge pull request #913 from voxpupuli/params-family
Browse files Browse the repository at this point in the history
use os.family fact to detect params
  • Loading branch information
bastelfreak committed Nov 8, 2023
2 parents 3b490ac + fbeb712 commit d83836e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/params.pp
@@ -1,8 +1,8 @@
# @summary This class manages zabbix server parameters
class zabbix::params {
# It seems that ubuntu has an different fping path...
case $facts['os']['name'] {
'Ubuntu', 'Debian' : {
case $facts['os']['family'] {
'Debian' : {
$server_fpinglocation = '/usr/bin/fping'
$server_fping6location = '/usr/bin/fping6'
$proxy_fpinglocation = '/usr/bin/fping'
Expand Down

0 comments on commit d83836e

Please sign in to comment.