Hi Sébastien,

Sébastien Braun (sebbr...@gmail.com) wrote:
> Ruby 1.9 removed each method for strings.
> 
> But when we provision an admin node, if we edit the ntp-server role
> template to add an NTP server, it will break provisionning. Because when
> trying to use ntp.conf.erb template, it will call each on the string
> containing the NTP servers :(
> 
> Both chef and chef-solo NTP cookbooks/ntp/template/default/ntp.conf.erb
> contain this line
> 
> <% @ntp_servers.each do |ntp_server| -%>

Thanks a lot for these bug reports.  I think it would be worth filing
them in github, e.g. https://github.com/crowbar/barclamp-ntp/issues -
even though we're not traditionally very good at remembering to deal
with bugs logged in github, it's still the officially agreed community
location for tracking issues, and at least issues reported there are
not any more likely to get forgotten than ones which are reported here
on this list ;-)

Having said that, in this case, isn't @ntp_servers supposed to be an
Array of Strings, not a String?  Maybe you are editing the proposal
JSON incorrectly?

_______________________________________________
Crowbar mailing list
Crowbar@dell.com
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/

Reply via email to