Merge "Align exim module parameter name with the tree"

This commit is contained in:
Jenkins 2014-07-05 21:31:02 +00:00 committed by Gerrit Code Review
commit 067bc2f708
6 changed files with 5 additions and 9 deletions

View File

@ -4,7 +4,7 @@ class exim(
$queue_run_max = '5', $queue_run_max = '5',
$queue_smtp_domains = '', $queue_smtp_domains = '',
$smarthost = false, $smarthost = false,
$sysadmin = [] $sysadmins = []
) { ) {
include exim::params include exim::params

View File

@ -14,6 +14,6 @@ security: root
gerrit2: root gerrit2: root
jenkins: root jenkins: root
<% if sysadmin.length > 0 -%> <% if sysadmins.length > 0 -%>
root: <%= sysadmin.join(",") %> root: <%= sysadmins.join(",") %>
<% end -%> <% end -%>

View File

@ -1,6 +1,4 @@
# Class to configure cacti on a node. # Class to configure cacti on a node.
# Takes a list of sysadmin email addresses as a parameter. Exim will be
# configured to email cron spam and other alerts to this list of admins.
class openstack_project::cacti ( class openstack_project::cacti (
$sysadmins = [] $sysadmins = []
) { ) {

View File

@ -1,6 +1,4 @@
# Class to configure graphite on a node. # Class to configure graphite on a node.
# Takes a list of sysadmin email addresses as a parameter. Exim will be
# configured to email cron spam and other alerts to this list of admins.
class openstack_project::graphite ( class openstack_project::graphite (
$sysadmins = [], $sysadmins = [],
$graphite_admin_user = '', $graphite_admin_user = '',

View File

@ -14,7 +14,7 @@ class openstack_project::lists(
$listdomain = 'lists.openstack.org' $listdomain = 'lists.openstack.org'
class { 'exim': class { 'exim':
sysadmin => $listadmins, sysadmins => $listadmins,
queue_interval => '1m', queue_interval => '1m',
queue_run_max => '50', queue_run_max => '50',
mailman_domains => [$listdomain], mailman_domains => [$listdomain],

View File

@ -21,6 +21,6 @@ class openstack_project::server (
ca_server => $ca_server, ca_server => $ca_server,
} }
class { 'exim': class { 'exim':
sysadmin => $sysadmins, sysadmins => $sysadmins,
} }
} }