Duplicate declaration: File[/etc/systemd/system/vector.service.d] is already declared at (file: …/internal_qa/modules/vector/manifests/configure.pp, line: 38); cannot redeclare (file: …/internal_qa/modules/systemd/manifests/dropin_file.pp, line: 52) (file: …/internal_qa/modules/systemd/manifests/dropin_file.pp, line: 52, column: 5)
There is a great module https://forge.puppet.com/modules/puppet/systemd/readme which does exactly what you have implemented in the module. It would really help us to avoid issues like: