From 7f9530cc2560e7250a1534629c647aa0c36c4a72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Becker?= Date: Mon, 6 Aug 2018 14:13:27 +0200 Subject: [PATCH] Remove timeout option from custom fact It seems to be not supported anymore: `` Warning: Facter: timeout option is not supported for custom facts and will be ignored. `` --- lib/facter/redis_version.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/facter/redis_version.rb b/lib/facter/redis_version.rb index 1aa7606..d583192 100644 --- a/lib/facter/redis_version.rb +++ b/lib/facter/redis_version.rb @@ -1,6 +1,6 @@ require 'facter' -Facter.add("redis_version", :timeout => 120) do +Facter.add("redis_version") do confine :osfamily => "Debian" setcode do @@ -35,7 +35,7 @@ end end -Facter.add("redis_version", :timeout => 120) do +Facter.add("redis_version") do confine :osfamily => "RedHat" setcode do