Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate Resource declaration for conf_file & dirname #252

Open
bstopp opened this issue Aug 9, 2018 · 0 comments
Open

Duplicate Resource declaration for conf_file & dirname #252

bstopp opened this issue Aug 9, 2018 · 0 comments

Comments

@bstopp
Copy link

bstopp commented Aug 9, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant