Skip to content

Duplicate Resource declaration for conf_file & dirname #252

@bstopp

Description

@bstopp

If you try to specify:

wildfly::dirname = /some/path

AND

wildfly::conf_file = /some/path/jboss.conf

You get:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: File[/some/path] is already declared at (file: /etc/puppetlabs/code/environments/production/modules/wildfly/manifests/prepare.pp, line: 26); cannot redeclare (file: /etc/puppetlabs/code/environments/production/modules/wildfly/manifests/service.pp, line: 22) (file: /etc/puppetlabs/code/environments/production/modules/wildfly/manifests/service.pp, line: 22, column: 5) on node my node

There's no check if you want to put the conf_file into the same directory as the rest of the jboss installation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions