Skip to content

Commit

Permalink
Merge pull request #751 from StatensPensjonskasse/dypo-in-is_master-fact
Browse files Browse the repository at this point in the history
Fix typo in is_master fact
  • Loading branch information
h-haaks authored Apr 20, 2024
2 parents df7398f + 7a90e34 commit aea1207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/facter/is_master.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit aea1207

Please sign in to comment.