diff options
Diffstat (limited to 'manifests/definitions')
-rw-r--r-- | manifests/definitions/config.pp | 4 | ||||
-rw-r--r-- | manifests/definitions/hash.pp | 2 | ||||
-rw-r--r-- | manifests/definitions/transport.pp | 2 | ||||
-rw-r--r-- | manifests/definitions/virtual.pp | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/manifests/definitions/config.pp b/manifests/definitions/config.pp index ec6c782..58fc590 100644 --- a/manifests/definitions/config.pp +++ b/manifests/definitions/config.pp @@ -1,4 +1,4 @@ -define postfix-ng::config ($ensure = present, $value, $nonstandard = false) { +define postfix::config ($ensure = present, $value, $nonstandard = false) { case $ensure { present: { exec {"postconf -e ${name}='${value}'": @@ -12,7 +12,7 @@ define postfix-ng::config ($ensure = present, $value, $nonstandard = false) { } absent: { - fail "postfix-ng::config ensure => absent: Not implemented" + fail "postfix::config ensure => absent: Not implemented" } } } diff --git a/manifests/definitions/hash.pp b/manifests/definitions/hash.pp index 827c4cf..f6fbfb6 100644 --- a/manifests/definitions/hash.pp +++ b/manifests/definitions/hash.pp @@ -1,4 +1,4 @@ -define postfix-ng::hash ($ensure) { +define postfix::hash ($ensure) { file {"${name}": ensure => $ensure, mode => 600, diff --git a/manifests/definitions/transport.pp b/manifests/definitions/transport.pp index ea23bf6..1624bcc 100644 --- a/manifests/definitions/transport.pp +++ b/manifests/definitions/transport.pp @@ -1,4 +1,4 @@ -define postfix-ng::transport ($ensure, $destination) { +define postfix::transport ($ensure, $destination) { line {"${name} ${destination}": ensure => present, file => "/etc/postfix/transport", diff --git a/manifests/definitions/virtual.pp b/manifests/definitions/virtual.pp index 950107c..6f3961a 100644 --- a/manifests/definitions/virtual.pp +++ b/manifests/definitions/virtual.pp @@ -1,4 +1,4 @@ -define postfix-ng::virtual ($ensure, $destination) { +define postfix::virtual ($ensure, $destination) { line {"${name} ${destination}": ensure => present, file => "/etc/postfix/virtual", |