From fbeb712fcb1bf7ffe35d55a51f17d4444ee4b7d8 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Wed, 8 Nov 2023 08:58:54 +0100 Subject: [PATCH] use os.family fact to detect params --- manifests/params.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/params.pp b/manifests/params.pp index dd1f4eaab..a52a7af42 100644 --- a/manifests/params.pp +++ b/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'