Add parameter setting whether OpenStack packages should be automatically updated
This commit is contained in:
parent
976b8c1754
commit
ca85ac33ad
@ -1,5 +1,5 @@
|
||||
class kickstack::glance::config inherits kickstack {
|
||||
class { '::glance':
|
||||
package_ensure => 'latest',
|
||||
package_ensure => $::kickstack::package_ensure,
|
||||
}
|
||||
}
|
||||
|
@ -18,6 +18,7 @@
|
||||
class kickstack (
|
||||
$fact_prefix = $kickstack::params::fact_prefix,
|
||||
$fact_filename = $kickstack::params::fact_filename,
|
||||
$package_ensure = $kickstack::params::package_ensure,
|
||||
$name_resolution = $kickstack::params::name_resolution,
|
||||
$verbose = $kickstack::params::verbose,
|
||||
$debug = $kickstack::params::debug,
|
||||
|
@ -7,7 +7,7 @@ class kickstack::keystone::api inherits kickstack {
|
||||
$sql_conn = getvar("${fact_prefix}keystone_sql_connection")
|
||||
|
||||
class { '::keystone':
|
||||
package_ensure => 'latest',
|
||||
package_ensure => $::kickstack::package_ensure,
|
||||
verbose => $kickstack::verbose,
|
||||
debug => $kickstack::debug,
|
||||
catalog_type => 'sql',
|
||||
|
@ -8,7 +8,7 @@ class kickstack::nova::config inherits kickstack {
|
||||
$rabbit_host = getvar("${::kickstack::fact_prefix}rabbit_host")
|
||||
$rabbit_password = getvar("${fact_prefix}rabbit_password")
|
||||
class { '::nova':
|
||||
ensure_package => 'latest',
|
||||
ensure_package => $::kickstack::package_ensure,
|
||||
sql_connection => $sql_conn,
|
||||
rpc_backend => 'nova.openstack.common.rpc.impl_kombu',
|
||||
rabbit_host => $rabbit_host,
|
||||
@ -25,7 +25,7 @@ class kickstack::nova::config inherits kickstack {
|
||||
$qpid_hostname = getvar("${::kickstack::fact_prefix}qpid_hostname")
|
||||
$qpid_password = getvar("${fact_prefix}qpid_password")
|
||||
class { '::nova':
|
||||
ensure_package => 'latest',
|
||||
ensure_package => $::kickstack::package_ensure,
|
||||
sql_connection => $sql_conn,
|
||||
rpc_backend => 'nova.openstack.common.rpc.impl_qpid',
|
||||
qpid_hostname => $qpid_hostname,
|
||||
|
@ -6,6 +6,6 @@ define kickstack::nova::service {
|
||||
# Installs the Nova service
|
||||
class { "${classname}":
|
||||
enabled => true,
|
||||
ensure_package => 'latest'
|
||||
ensure_package => $::kickstack::package_ensure
|
||||
}
|
||||
}
|
||||
|
@ -12,6 +12,12 @@ class kickstack::params {
|
||||
# * override by setting "kickstack_fact_category"
|
||||
$fact_category = pick(getvar("::${variable_prefix}fact_category"), "kickstack")
|
||||
|
||||
# Whether or not we want to keep OpenStack packages at the latest versions
|
||||
# * default 'installed'
|
||||
# * override by setting to 'latest'
|
||||
# Does not apply to packages outside OpenStack.
|
||||
$package_ensure = pick(getvar("::${variable_prefix}package_ensure"), 'installed')
|
||||
|
||||
# The strategy to use so machines can make their hostnames known to
|
||||
# each other.
|
||||
# * default "hosts" -- manage /etc/hosts
|
||||
|
Loading…
x
Reference in New Issue
Block a user