summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/parser/functions/has_key_spec.rb
AgeCommit message (Collapse)Author
2011-07-29(#8708) Add has_key functionDan Bode
It is difficult to use existance of keys in a hash as a boolean condition in Puppet (see #8705) This function provides a working solution until the underlying issue in Puppet can be resolved. Reviewed-by: Jeff McCune