Heira Puppet erb syntax for collection object -
our yaml.
scopeconfigs: - {resource: '/users', scopes: ['demographicprofile','basicprofile']}
id know how declare on heira on erb
ive tried putting on heira
scope_configs: "[{'resource':'/users', 'scopes': {'basicprofile', 'demographicprofile'}},{'resource':'/users2', 'scopes': {'basicprofile', 'demographicprofile'}}]"
and erb tried
scopeconfigs: <% scope_configs.each |config| %> - {resource: <%= config.resource %>, scopes: <%= config.scopes %>} <% end %>
but still no luck, im getting can not deserialize instance of java.util.arraylist out of value_string token
Comments
Post a Comment