Support for per FQDN common files from Puppet fileserver.
This commit is contained in:
parent
e47e3fec21
commit
798596315e
1 changed files with 6 additions and 0 deletions
|
@ -263,6 +263,7 @@ class sendmail::server inherits sendmail::common {
|
|||
default => "/etc/aliases",
|
||||
},
|
||||
source => [
|
||||
"puppet:///files/mail/aliases.${fqdn}",
|
||||
"puppet:///files/mail/aliases",
|
||||
"puppet:///modules/sendmail/aliases",
|
||||
],
|
||||
|
@ -279,6 +280,7 @@ class sendmail::server inherits sendmail::common {
|
|||
file { "/etc/mail/access":
|
||||
ensure => present,
|
||||
source => [
|
||||
"puppet:///files/mail/access.${fqdn}",
|
||||
"puppet:///files/mail/access",
|
||||
"puppet:///modules/sendmail/empty",
|
||||
],
|
||||
|
@ -297,6 +299,7 @@ class sendmail::server inherits sendmail::common {
|
|||
file { "/etc/mail/genericstable":
|
||||
ensure => present,
|
||||
source => [
|
||||
"puppet:///files/mail/genericstable.${fqdn}",
|
||||
"puppet:///files/mail/genericstable",
|
||||
"puppet:///modules/sendmail/empty",
|
||||
],
|
||||
|
@ -315,6 +318,7 @@ class sendmail::server inherits sendmail::common {
|
|||
file { "/etc/mail/mailertable":
|
||||
ensure => present,
|
||||
source => [
|
||||
"puppet:///files/mail/mailertable.${fqdn}",
|
||||
"puppet:///files/mail/mailertable",
|
||||
"puppet:///modules/sendmail/empty",
|
||||
],
|
||||
|
@ -333,6 +337,7 @@ class sendmail::server inherits sendmail::common {
|
|||
file { "/etc/mail/virtusertable":
|
||||
ensure => present,
|
||||
source => [
|
||||
"puppet:///files/mail/virtusertable.${fqdn}",
|
||||
"puppet:///files/mail/virtusertable",
|
||||
"puppet:///modules/sendmail/empty",
|
||||
],
|
||||
|
@ -351,6 +356,7 @@ class sendmail::server inherits sendmail::common {
|
|||
file { "/etc/mail/local-host-names":
|
||||
ensure => present,
|
||||
source => [
|
||||
"puppet:///files/mail/local-host-names.${fqdn}",
|
||||
"puppet:///files/mail/local-host-names",
|
||||
"puppet:///modules/sendmail/local-host-names",
|
||||
],
|
||||
|
|
Loading…
Add table
Reference in a new issue