HomeSoftware Heritage

Fix duplicate configuration issue

Authored by ardumont on Jul 8 2016, 2:56 PM.

Description

Fix duplicate configuration issue

Puppet won't accept that profile shares the same configuration (be it
package dependency, directory, file, etc...).

Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Evaluation Error: Error while evaluating a Resource Statement,
Duplicate declaration: File[/etc/softwareheritage/storage] is already
declared in file
/etc/puppet/environments/production/modules/profile/manifests/swh/deploy/storage.pp:33;
cannot redeclare at
/etc/puppet/environments/production/modules/profile/manifests/swh/deploy/storage_archiver.pp:23
at /etc/puppet/environments/production/modules/pr

Separate the configuration folder holding the archiver.ini file.

Related T481

Details

Committed
ardumontJul 8 2016, 2:56 PM
Pushed
ardumontJul 8 2016, 3:00 PM
Parents
rSPSITEe1886c6d3e2a: Rename to profile::swh::deploy::storage_archiver
Branches
Unknown
Tags
Unknown