diff options
author | Maat <maat@mageia.org> | 2024-10-13 12:30:43 +0200 |
---|---|---|
committer | Maat <maat@mageia.org> | 2024-10-13 12:31:02 +0200 |
commit | d9f1cb8a91dea7dd8a586807d96a74508ab48394 (patch) | |
tree | 3f2409d54be9a3d449cf0ac004562778440a781e /modules/opendkim/manifests/trusted.pp | |
parent | 2942358e09f8590fedc1ebf5144b9990936100c7 (diff) | |
download | puppet-d9f1cb8a91dea7dd8a586807d96a74508ab48394.tar puppet-d9f1cb8a91dea7dd8a586807d96a74508ab48394.tar.gz puppet-d9f1cb8a91dea7dd8a586807d96a74508ab48394.tar.bz2 puppet-d9f1cb8a91dea7dd8a586807d96a74508ab48394.tar.xz puppet-d9f1cb8a91dea7dd8a586807d96a74508ab48394.zip |
Setting up DKIM server for sucuk
Diffstat (limited to 'modules/opendkim/manifests/trusted.pp')
-rw-r--r-- | modules/opendkim/manifests/trusted.pp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/opendkim/manifests/trusted.pp b/modules/opendkim/manifests/trusted.pp new file mode 100644 index 00000000..dcf0f8b8 --- /dev/null +++ b/modules/opendkim/manifests/trusted.pp @@ -0,0 +1,13 @@ +define opendkim::trusted ( + $host = $name, + $trusted_hosts = 'TrustedHosts', + +) { + # Add line into KeyTable + file_line { "${opendkim::pathconf}/${trusted_hosts}_${host}": + path => "${opendkim::pathconf}/${trusted_hosts}", + line => $host, + notify => Service[$opendkim::service_name], + require => Package[$opendkim::package_name], + } +} |