lvicainne / puppet-opendkim

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

Missing Optional for autorestart #44

Closed msalway closed 6 months ago

msalway commented 6 months ago

The autorestart config introduced in #42 throws the below error if the autorestart parameter isn't passed to the opendkim module:

Error while evaluating a Function Call, lambda: parameter 'autorestart' expects a value of type Boolean or Enum, got Undef

There is already logic in the template to ignore autorestart if it is undef. It's just a validation issue on the template parameter - which this PR corrects.

lvicainne commented 6 months ago

Thanks