Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new function sorted_json does not work if keys are set to undef #59

Closed
bodepd opened this issue Jan 5, 2015 · 2 comments
Closed

new function sorted_json does not work if keys are set to undef #59

bodepd opened this issue Jan 5, 2015 · 2 comments

Comments

@bodepd
Copy link
Contributor

bodepd commented Jan 5, 2015

in the case where hash keys are explicitly set to undef, the following exception is encountered:

       undefined method `Exception' for #<Puppet::Parser::Scope:0x007fe77ec64d38> at /Users/danbode/dev/reliance/apply_resources/rjil/spec/fixtures/modules/consul/manifests/config.pp:35 on node danslaptop-2.local
     # ./spec/fixtures/modules/consul/lib/puppet/parser/functions/consul_sorted_json.rb:22:in `sorted_json'
     # ./spec/fixtures/modules/consul/lib/puppet/parser/functions/consul_sorted_json.rb:16:in `block in sorted_json'
     # ./spec/fixtures/modules/consul/lib/puppet/parser/functions/consul_sorted_json.rb:15:in `each'
     # ./spec/fixtures/modules/consul/lib/puppet/parser/functions/consul_sorted_json.rb:15:in `sorted_json'
     # ./spec/fixtures/modules/consul/lib/puppet/parser/functions/consul_sorted_json.rb:42:in `block in <module:Functions>'
     # ./spec/classes/jiocloud_spec.rb:37:in `block (3 levels) in <top (required)>'
@bodepd
Copy link
Contributor Author

bodepd commented Jan 5, 2015

resolved by #60

@bodepd
Copy link
Contributor Author

bodepd commented Jan 12, 2015

this was already merged in #60, closing

@bodepd bodepd closed this as completed Jan 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant