aboutsummaryrefslogtreecommitdiff
path: root/manifests/classes
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
parent8157cc71d8a24633035eb92ef7b34657e4785f29 (diff)
downloadpuppet-postfix-29c3c8519c96b40f528e9e1985568fffe8ce46a2.tar.gz
puppet-postfix-29c3c8519c96b40f528e9e1985568fffe8ce46a2.tar.bz2
postix-ng -> postfix
find . -type f -exec perl -pi -e 's/postfix-ng/postfix/' {} \;
Diffstat (limited to 'manifests/classes')
-rw-r--r--manifests/classes/postfix-mailman.pp10
-rw-r--r--manifests/classes/postfix-mta.pp16
-rw-r--r--manifests/classes/postfix-satellite.pp10
-rw-r--r--manifests/classes/postfix.pp12
4 files changed, 24 insertions, 24 deletions
diff --git a/manifests/classes/postfix-mailman.pp b/manifests/classes/postfix-mailman.pp
index 6a34f45..ace2af1 100644
--- a/manifests/classes/postfix-mailman.pp
+++ b/manifests/classes/postfix-mailman.pp
@@ -1,19 +1,19 @@
-class postfix-ng::mailman {
+class postfix::mailman {
$postfix_ng_smtp_listen = "0.0.0.0"
- include postfix-ng
+ include postfix
- postfix-ng::config {
+ postfix::config {
"mydestination": value => "";
"virtual_alias_maps": value => "hash:/etc/postfix/virtual";
"transport_maps": value => "hash:/etc/postfix/transport";
"mailman_destination_recipient_limit": value => "1", nonstandard => true;
}
- 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,
}
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,
}
diff --git a/manifests/classes/postfix-satellite.pp b/manifests/classes/postfix-satellite.pp
index 0f8cd5f..a3ea320 100644
--- a/manifests/classes/postfix-satellite.pp
+++ b/manifests/classes/postfix-satellite.pp
@@ -6,7 +6,7 @@
# $valid_fqdn can be set to override $fqdn in the case where the FQDN is
# not recognized as valid by the destination server.
#
-# All other parameters for postfix-ng::mta are valid.
+# All other parameters for postfix::mta are valid.
#
# Example:
#
@@ -15,10 +15,10 @@
# $valid_fqdn = "toto.example.com"
# $root_mail_recipient = "the.sysadmin@example.com"
#
-# include postfix-ng::satellite
+# include postfix::satellite
# }
-class postfix-ng::satellite {
+class postfix::satellite {
# If $fake_fqdn exists, use it to override $fqdn
case $valid_fqdn {
@@ -26,9 +26,9 @@ class postfix-ng::satellite {
default: { $fqdn = "${valid_fqdn}" }
}
- include postfix-ng::mta
+ include postfix::mta
- postfix-ng::virtual {"@${valid_fqdn}":
+ postfix::virtual {"@${valid_fqdn}":
ensure => present,
destination => "root",
}
diff --git a/manifests/classes/postfix.pp b/manifests/classes/postfix.pp
index 3645bb2..7a1aa6c 100644
--- a/manifests/classes/postfix.pp
+++ b/manifests/classes/postfix.pp
@@ -4,7 +4,7 @@
# delivery and an SMTP server listening on the loopback interface.
#
-class postfix-ng {
+class postfix {
# Default value for various options
case $postfix_ng_smtp_listen {
@@ -52,8 +52,8 @@ class postfix-ng {
file { "/etc/postfix/master.cf":
ensure => present,
content => $lsbdistcodename ? {
- Tikanga => template("postfix-ng/master.cf.redhat5.erb"),
- etch => template("postfix-ng/master.cf.debian-etch.erb"),
+ Tikanga => template("postfix/master.cf.redhat5.erb"),
+ etch => template("postfix/master.cf.debian-etch.erb"),
default => "No puppet template defined for $lsbdistcodename\n",
},
notify => Service["postfix"],
@@ -62,7 +62,7 @@ class postfix-ng {
file { "/etc/postfix/main.cf":
ensure => present,
- source => "puppet:///postfix-ng/main.cf",
+ source => "puppet:///postfix/main.cf",
replace => false,
notify => Service["postfix"],
require => Package["postfix"],
@@ -70,7 +70,7 @@ class postfix-ng {
# Default configuration parameters
- postfix-ng::config {
+ postfix::config {
"myorigin": value => "${fqdn}";
"alias_maps": value => "hash:/etc/aliases";
"inet_interfaces": value => "all";
@@ -78,7 +78,7 @@ class postfix-ng {
case $operatingsystem {
RedHat: {
- postfix-ng::config {
+ postfix::config {
"sendmail_path": value => "/usr/sbin/sendmail.postfix";
"newaliases_path": value => "/usr/bin/newaliases.postfix";
"mailq_path": value => "/usr/bin/mailq.postfix";