Merge "Add the ability for template to manage exim"

This commit is contained in:
Jenkins 2015-05-09 05:32:35 +00:00 committed by Gerrit Code Review
commit fe5600d466

View File

@ -16,6 +16,8 @@ class openstack_project::template (
$enable_unbound = true, $enable_unbound = true,
$afs = false, $afs = false,
$puppetmaster_server = 'puppetmaster.openstack.org', $puppetmaster_server = 'puppetmaster.openstack.org',
$manage_exim = false,
$sysadmins = [],
) { ) {
########################################################### ###########################################################
@ -43,6 +45,12 @@ class openstack_project::template (
########################################################### ###########################################################
# Process if ( $high_level_directive ) blocks # Process if ( $high_level_directive ) blocks
if $manage_exim {
class { 'exim':
sysadmins => $sysadmins,
}
}
if $automatic_upgrades == true { if $automatic_upgrades == true {
class { 'openstack_project::automatic_upgrades': class { 'openstack_project::automatic_upgrades':
origins => ["Puppetlabs:${lsbdistcodename}"], origins => ["Puppetlabs:${lsbdistcodename}"],