Add the ability for template to manage exim
Managing exim is the one thing sever can do that template cannot. This is part of a multi stage process for merging server and template. Change-Id: I354da6b5d489669b6a2fb4ae4a4a64c2d363b758
This commit is contained in:
parent
af02d02575
commit
ac0c30f828
@ -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}"],
|
||||||
|
Loading…
Reference in New Issue
Block a user