Move email addresses of sysadmins to paramater.
When we put these all in by default, then people testing things or people who aren't even us get the mail on their systems configured to email us. Change-Id: Ib9d4160e0c81151bf040422c89621bc0fcefcd66
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class exim() {
|
||||
class exim($sysadmin=[]) {
|
||||
package { 'exim4-base':
|
||||
ensure => present;
|
||||
}
|
||||
@@ -30,7 +30,7 @@ class exim() {
|
||||
group => 'root',
|
||||
mode => 444,
|
||||
ensure => 'present',
|
||||
source => 'puppet:///modules/exim/aliases',
|
||||
content => template("exim/aliases.erb"),
|
||||
replace => 'true',
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,8 @@ abuse: root
|
||||
noc: root
|
||||
security: root
|
||||
|
||||
sysadmin: corvus@inaugust.com, mordred@inaugust.com, andrew@linuxjedi.co.uk, devananda.vdv@gmail.com
|
||||
root: sysadmin
|
||||
gerrit2: sysadmin
|
||||
jenkins: sysadmin
|
||||
gerrit2: root
|
||||
jenkins: root
|
||||
<% if sysadmin.length > 0 -%>
|
||||
root: <%= sysadmin.join(",") %>
|
||||
<% end -%>
|
||||
Reference in New Issue
Block a user