On Tuesday, February 4, 2014 at 3:35 PM, Curtis Stewart wrote:
I’m trying to allow a settings.yml file to be generated from node attributes.I assumed the following would work, but I’m left with various “!ruby/hash:Chef::Node::ImmutableMash” lines in my yaml file.YAML::dump(node[‘applications']['settings'].to_hash)settings: !ruby/hash:Chef::Node::ImmutableMashfoo: !ruby/array:Chef::Node::ImmutableArray- settingonebar: !ruby/array:Chef::Node::ImmutableArray- settingoneI’d like to be able to allow for a very flexible configuration, however, maybe this is just a bad practice and I should use a template with a smaller number of configurations?Thanks,Curtis
Archive powered by MHonArc 2.6.16.