Yeap hiera-1.3.0.16 (current master) fixes the issue, in order to build it:
$ git clone [email protected]:puppetlabs/hiera.git $ rake package:bootstrap $ rake package:gem Now ill wait for it to be pushed out to rubygems Thanks On Wednesday, December 11, 2013 7:34:37 PM UTC+2, Ygor wrote: > > Please report results. > > Good luck > > “Sometimes I think the surest sign that intelligent life exists elsewhere > in the universe is that none of it has tried to contact us.” > Bill Waterson (Calvin & Hobbes) > > ------------------------------ > *From: *"Ronen" <[email protected] <javascript:>> > *To: *[email protected] <javascript:> > *Sent: *Wednesday, December 11, 2013 12:30:15 PM > *Subject: *Re: [Puppet Users] hiera 1.3.0 breaks puppet standalone > > Ok ill give master a try to see if it resolve my issue, > > Thanks! > > On Wednesday, December 11, 2013 7:28:25 PM UTC+2, Ygor wrote: >> >> http://projects.puppetlabs.com/issues/23273 >> >> Merged pending release >> >> “Sometimes I think the surest sign that intelligent life exists elsewhere >> in the universe is that none of it has tried to contact us.” >> Bill Waterson (Calvin & Hobbes) >> >> ------------------------------ >> *From: *"Ronen" <[email protected]> >> *To: *[email protected] >> *Sent: *Wednesday, December 11, 2013 11:38:01 AM >> *Subject: *Re: [Puppet Users] hiera 1.3.0 breaks puppet standalone >> >> Hey Ygor, this seems to effect classes with parameters such as >> https://github.com/puppetlabs/puppetlabs-apt/blob/master/manifests/init.pp >> >> I can't add parameters for any external class I use (thats what defaults >> are for), >> >> It looks as if the parameters values are searched via hiera and fail, >> also note that the issue you referenced for puppet agent with master (no >> standalone) and has a different error: >> >> Could not retrieve catalog from remote server: Error 400 on SERVER: >> undefined method `empty?' for false:FalseClass at >> /etc/puppet/environments/production/modules/resolv/manifests/params.pp:22 >> on node xxx >> >> >> While my error is: >> >> >> Error: Puppet::Parser::AST::Resource failed with error TypeError: Data >> retrieved from hieradata/virtualbox.yaml is String not Hash at >> >> Thanks >> >> On Wednesday, December 11, 2013 6:06:28 PM UTC+2, Ygor wrote: >>> >>> Someone else got there first >>> >>> http://projects.puppetlabs.com/issues/23367 >>> >>> “Sometimes I think the surest sign that intelligent life exists >>> elsewhere in the universe is that none of it has tried to contact us.” >>> Bill Waterson (Calvin & Hobbes) >>> >>> ------------------------------ >>> *From: *"Ronen" <[email protected]> >>> *To: *[email protected] >>> *Sent: *Wednesday, December 11, 2013 10:31:58 AM >>> *Subject: *[Puppet Users] hiera 1.3.0 breaks puppet standalone >>> >>> It seems as if latest hiera (1.3.0) breaks puppet standalone, running: >>> >>> puppet apply --modulepath=modules:static-modules manifests/default.pp >>> --hiera_config hiera.yaml >>> >>> Where hiera.yaml is: >>> >>> --- >>> :backends: >>> - yaml >>> :logger: console >>> :hierarchy: >>> - '%{::virtual}' >>> - common >>> :yaml: >>> :datadir: hieradata >>> >>> And virtualbox.yaml is (empty yaml file): >>> --- >>> >>> >>> Results with: >>> >>> Error: Puppet::Parser::AST::Resource failed with error TypeError: Data >>> retrieved from hieradata/virtualbox.yaml is String not Hash at >>> >>> I wanted to open an issue but didn't manage to figure how to do this on >>> puppet website >>> >>> Any clues on how to resolve this? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Puppet Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/puppet-users/57671863-3dc2-4a34-b177-c3c98dbbe9e9%40googlegroups.com >>> . >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-users/1c800fb9-a14a-4547-9265-9eae4e85e056%40googlegroups.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/8a180969-bf08-4fe2-aa88-e01f7bcd30b7%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/114c0af9-08a9-465e-af6e-a7321afb2240%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
