Merge "Move automatic_upgrades management to o_p::server"
This commit is contained in:
commit
3ff96003a8
@ -89,6 +89,10 @@ class openstack_project::server (
|
||||
}
|
||||
}
|
||||
|
||||
class { 'openstack_project::automatic_upgrades':
|
||||
origins => ["Puppetlabs:${lsbdistcodename}"],
|
||||
}
|
||||
|
||||
include snmpd
|
||||
|
||||
class { 'openstack_project::template':
|
||||
|
@ -2,17 +2,13 @@
|
||||
#
|
||||
# This class configures single use Jenkins slaves with a few
|
||||
# toggleable options. Most importantly sudo rights for the Jenkins
|
||||
# user are by default off but can be enabled. Also, automatic_upgrades
|
||||
# are off by default as the assumption is the backing image for
|
||||
# this single use slaves will be refreshed with new packages
|
||||
# periodically.
|
||||
# user are by default off but can be enabled.
|
||||
class openstack_project::single_use_slave (
|
||||
$certname = $::fqdn,
|
||||
$install_users = true,
|
||||
$install_resolv_conf = true,
|
||||
$sudo = false,
|
||||
$thin = true,
|
||||
$automatic_upgrades = false,
|
||||
$all_mysql_privs = false,
|
||||
$ssh_key = $openstack_project::jenkins_ssh_key,
|
||||
$jenkins_gitfullname = 'OpenStack Jenkins',
|
||||
@ -21,7 +17,6 @@ class openstack_project::single_use_slave (
|
||||
) inherits openstack_project {
|
||||
class { 'openstack_project::template':
|
||||
certname => $certname,
|
||||
automatic_upgrades => $automatic_upgrades,
|
||||
install_users => $install_users,
|
||||
install_resolv_conf => $install_resolv_conf,
|
||||
permit_root_login => 'yes',
|
||||
|
@ -12,7 +12,6 @@ class openstack_project::template (
|
||||
$pin_puppet = '3.',
|
||||
$install_users = true,
|
||||
$install_resolv_conf = true,
|
||||
$automatic_upgrades = true,
|
||||
$certname = $::fqdn,
|
||||
$ca_server = undef,
|
||||
$afs = false,
|
||||
@ -67,15 +66,6 @@ class openstack_project::template (
|
||||
}
|
||||
|
||||
|
||||
###########################################################
|
||||
# Process if ( $high_level_directive ) blocks
|
||||
|
||||
if $automatic_upgrades == true {
|
||||
class { 'openstack_project::automatic_upgrades':
|
||||
origins => ["Puppetlabs:${lsbdistcodename}"],
|
||||
}
|
||||
}
|
||||
|
||||
class {'openstack_project::users_install':
|
||||
install_users => $install_users
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user