From 7a90e34cee70519cf7988b7ca55fa7cf2fec1597 Mon Sep 17 00:00:00 2001 From: Hugo Haakseth Date: Sat, 20 Apr 2024 13:32:04 +0200 Subject: [PATCH] Fix typo in is_master fact --- lib/facter/is_master.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/facter/is_master.rb b/lib/facter/is_master.rb index fab88c01e..9beaf195a 100644 --- a/lib/facter/is_master.rb +++ b/lib/facter/is_master.rb @@ -18,7 +18,7 @@ def get_options_from_hash_config(config) result << "--port #{port}" unless port.nil? result << '--ipv6' if ipv6 - unless tls_mode.nil? || tls_mode == 'diabled' + unless tls_mode.nil? || tls_mode == 'disabled' result << "--tls --host #{Facter.value(:fqdn)}" result << "--tlsCertificateKeyFile #{tls_cert_key}" unless tls_cert_key.nil? result << "--tlsCAFile #{tls_ca}" unless tls_ca.nil?