bdwyertech/chef-wildfly

Change attribute value

jeusdi opened this issue · 3 comments

I need to change add-logging-api-dependencies.

Currently, I'm changing it connecting to wildfly using console:

/subsystem=logging:write-attribute(name=add-logging-api-dependencies,value=false)

Is there any way to set it to false when I install wildfly using this recipe?

Any ideas?

How about using the attribute resource?

wildfly_attribute 'add-logging-api-dependencies' do
   path '/subsystem=logging'
   parameter 'add-logging-api-dependencies'
   value false
end

Almost there:

value "false"

Thanks