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:
Spencer Krum 2015-05-06 15:38:23 -07:00
parent af02d02575
commit ac0c30f828

View File

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