Project

General

Profile

Actions

Bug #18806

closed

Duplicate declaration: /etc/foreman-proxy/ssl_key.pem

Added by Klaas D about 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Installer
Target version:
Fixed in Releases:
Found in Releases:

Description

Hi,
when installing a pulp only node there is an error about a duplicate resource statement: (no puppet, no puppetca, no use_sudoers)

[ERROR 2017-03-06 13:28:19 main]  Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: File[/etc/foreman-proxy/ssl_key.pem] is already declared in file /usr/share/foreman-installer/modules/foreman_proxy/manifests/config.pp:140; cannot redeclare at /usr/share/katello-installer-base/modules/certs/manifests/foreman_proxy.pp:83 at /usr/share/katello-installer-base/modules/certs/manifests/foreman_proxy.pp:83:5 on node pulpnode.de

https://github.com/Katello/puppet-certs/blob/master/manifests/foreman_proxy.pp#L87-L92
and
https://github.com/theforeman/puppet-foreman_proxy/blob/master/manifests/config.pp#L128-L149

in master

I'm not sure where it is correct to declare the file; would it be best to use ensure_resource from stdlib at both occurrences?

Greetings
Klaas


Related issues 2 (0 open2 closed)

Has duplicate Katello - Bug #20125: Duplicate declaration with --foreman-proxy-puppet falseDuplicate06/27/2017Actions
Has duplicate Installer - Bug #22443: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration:Rejected01/29/2018Actions
Actions

Also available in: Atom PDF