summaryrefslogtreecommitdiff
path: root/manifests/classes/postfix-mta.pp
diff options
context:
space:
mode:
authorFrancois Deppierraz <francois@ip-10-226-54-102.eu-west-1.compute.internal>2009-03-02 12:29:31 +0100
committerFrancois Deppierraz <francois@ip-10-226-54-102.eu-west-1.compute.internal>2009-03-02 12:29:31 +0100
commit29c3c8519c96b40f528e9e1985568fffe8ce46a2 (patch)
treeefb721871f0252e6c3ea21822f86980ae932f4b3 /manifests/classes/postfix-mta.pp
parent8157cc71d8a24633035eb92ef7b34657e4785f29 (diff)
postix-ng -> postfix
find . -type f -exec perl -pi -e 's/postfix-ng/postfix/' {} \;
Diffstat (limited to 'manifests/classes/postfix-mta.pp')
-rw-r--r--manifests/classes/postfix-mta.pp16
1 files changed, 8 insertions, 8 deletions
diff --git a/manifests/classes/postfix-mta.pp b/manifests/classes/postfix-mta.pp
index 94f9f78..451ac36 100644
--- a/manifests/classes/postfix-mta.pp
+++ b/manifests/classes/postfix-mta.pp
@@ -7,7 +7,7 @@
# A valid relay host is required ($postfix_relayhost) for outbound email.
#
# transport & virtual maps get configured and can be populated with
-# postfix-ng::transport and postfix-ng::virtual
+# postfix::transport and postfix::virtual
#
# Example:
#
@@ -16,16 +16,16 @@
# $postfix_ng_smtp_listen = "0.0.0.0"
# $postfix_mydestination = "\$myorigin, myapp.example.com"
#
-# include postfix-ng::mta
+# include postfix::mta
#
-# postfix-ng::transport { "myapp.example.com":
+# postfix::transport { "myapp.example.com":
# ensure => present,
# destination => "local:",
# }
# }
#
-class postfix-ng::mta {
+class postfix::mta {
case $postfix_relayhost {
"": { fail("Required \$postfix_relayhost variable is not defined.") }
@@ -35,9 +35,9 @@ class postfix-ng::mta {
"": { $postfix_mydestination = "\$myorigin" }
}
- include postfix-ng
+ include postfix
- postfix-ng::config {
+ postfix::config {
"mydestination": value => $postfix_mydestination;
"mynetworks": value => "127.0.0.0/8";
"relayhost": value => $postfix_relayhost;
@@ -45,11 +45,11 @@ class postfix-ng::mta {
"transport_maps": value => "hash:/etc/postfix/transport";
}
- postfix-ng::hash { "/etc/postfix/virtual":
+ postfix::hash { "/etc/postfix/virtual":
ensure => present,
}
- postfix-ng::hash { "/etc/postfix/transport":
+ postfix::hash { "/etc/postfix/transport":
ensure => present,
}