cq_jcr '/content/test_node' do
username node['cq']['author']['credentials']['login']
password node['cq']['author']['credentials']['password']
instance "http://localhost:#{node['cq']['author']['port']}"
properties(
'property_one' => true,
'property_two' => 'second',
'property_three' => ['item1', 'item2', 'item3']
)
property_types(
'property_one' => 'Boolean',
'property_two' => 'String',
'property_three' => 'String[]'
)
action :create
end
Please added property type support to
cq_jcrresource.Concept:
Details: https://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html#typehint