Skip to content

Allow setting attributes of Context element in context.xml #502

@uoe-pjackson

Description

@uoe-pjackson

Use Case

I am attempting to add the attribute crossContext="true" to the Context element in $CATALINA_BASE/conf/context.xml

On reading the documentation tomcat::config::context suggests it might be something it can do:

Configure attributes for the Context element in $CATALINA_BASE/conf/context.xml

However it appears that this define type is hard coded to just set Context/WatchedResource/#text "WEB-INF/web.xml"

Describe the Solution You Would Like

The ability to set attributes of the Context element. Potentially through adding $additional_attributes and $attributes_to_remove to tomcat::config::context define type

Describe Alternatives You've Considered

I've not found another way of achieving this result using this module.

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions