Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

Commit

Permalink
implementing suggested fix for #6 - :absent symbol is now also parsed…
Browse files Browse the repository at this point in the history
… as a False value
  • Loading branch information
lukebigum committed Jul 21, 2017
1 parent b6fb9c1 commit f4b87ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet_x/util/boolean.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def true_values

# All values that are considered 'false' by Puppet internals
def false_values
[false, 'false', :false, :no, 'no', :undef, nil]
[false, 'false', :false, :no, 'no', :undef, nil, :absent]
end

# Normalize Boolean values
Expand Down

0 comments on commit f4b87ca

Please sign in to comment.