diff options
Diffstat (limited to 'manifests/definitions/transport.pp')
-rw-r--r-- | manifests/definitions/transport.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/definitions/transport.pp b/manifests/definitions/transport.pp new file mode 100644 index 0000000..ea23bf6 --- /dev/null +++ b/manifests/definitions/transport.pp @@ -0,0 +1,8 @@ +define postfix-ng::transport ($ensure, $destination) { + line {"${name} ${destination}": + ensure => present, + file => "/etc/postfix/transport", + line => "${name} ${destination}", + notify => Exec["generate /etc/postfix/transport.db"], + } +} |