lvicainne / puppet-opendkim

Puppet module for opendkim
https://forge.puppetlabs.com/lvicainne/opendkim
Other
5 stars 33 forks source link

Fix duplicate resource if multiple keys are added for a domain #16

Closed nikdoof closed 4 years ago

nikdoof commented 5 years ago

If you have multiple keys set for a domain, the file resource to create the domain folder is duplicated. Using stdlib ensure resource resolves the issue.

lvicainne commented 4 years ago

Hi ! You are using the "ensure_resource" function from puppetlabs/stdlib This function is existing at least since v3.2 so there is no dependance problem. Let's merge your PR :-)