Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: File[/var/lib/rundeck/.ssh/id_rsa] is already declared in file /etc/puppetlabs/code/environments/production/modules/rundeck/manifests/install.pp:102; cannot redeclare at /etc/puppetlabs/code/environments/production/modules/site_rundeck/manifests/init.pp:112 at /etc/puppetlabs/code/environments/production/modules/site_rundeck/manifests/init.pp:112:3 on node
What behaviour did you expect instead
Management of the file, without conflicts.
Any additional information you'd like to impart
When I saw there was a conflict here, I poked around the module, and didn't see any mechanism for actually inserting data as per https://github.com/voxpupuli/puppet-rundeck/blob/v3.1.0/manifests/install.pp#L102 . After confirming on IRC, I'm filing the issue. If the module is going to manage this file, I think it should provide a mechanism to supply it with contents.
How to reproduce (e.g Puppet code you use)
What are you seeing
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: File[/var/lib/rundeck/.ssh/id_rsa] is already declared in file /etc/puppetlabs/code/environments/production/modules/rundeck/manifests/install.pp:102; cannot redeclare at /etc/puppetlabs/code/environments/production/modules/site_rundeck/manifests/init.pp:112 at /etc/puppetlabs/code/environments/production/modules/site_rundeck/manifests/init.pp:112:3 on node
What behaviour did you expect instead
Management of the file, without conflicts.
Any additional information you'd like to impart
When I saw there was a conflict here, I poked around the module, and didn't see any mechanism for actually inserting data as per https://github.com/voxpupuli/puppet-rundeck/blob/v3.1.0/manifests/install.pp#L102 . After confirming on IRC, I'm filing the issue. If the module is going to manage this file, I think it should provide a mechanism to supply it with contents.