{"comment":{"created_at":"2011-10-11T02:12:46Z","body":"You are correct! This error appears to be coming from https://github.com/ripienaar/hiera/blob/master/lib/hiera/backend.rb#L166 because a false will fail the `||` and query `parse_string()` instead.","updated_at":"2011-10-11T02:12:46Z","url":"https://api.github.com/repos/ripienaar/hiera/issues/comments/2354666","id":2354666,"user":{"avatar_url":"https://secure.gravatar.com/avatar/77b6a8e9f99bdd7f0d32fa2939d735cf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/hunner","id":91972,"login":"hunner"}},"action":"created","issue":{"number":15,"created_at":"2011-08-04T22:37:03Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"In a yaml file:\r\n--- \r\nmyvar: true\r\n\r\nQuery Hiera will return true\r\n\r\n--- \r\nmyvar: false\r\n\r\nQuery Hiera will return nil\r\n\r\nI'm using Puppet behind, and setting a parameter to nil will make Puppet fail as the parameter is not defined.","comments":1,"title":"Hiera return nil for false value","updated_at":"2011-10-11T02:12:46Z","url":"https://api.github.com/repos/ripienaar/hiera/issues/15","id":1348000,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/a32a019f7612ed79990192f3e93b8227?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/nonolemono","id":331370,"login":"nonolemono"},"html_url":"https://github.com/ripienaar/hiera/issues/15","labels":[],"state":"open"},"legacy":{"issue_id":1348000,"comment_id":2354666}}