Skip to content
Browse files

configurable package version for cinder

  • Loading branch information...
1 parent 7ff7c32 commit 77c485e8f697240bf916e18758899d23466e7399 @jkff jkff committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 manifests/cinder.pp
View
5 manifests/cinder.pp
@@ -5,7 +5,8 @@
$volume_group = 'cinder-volumes',
$enabled = true,
$manage_volumes = true,
- $purge_cinder_config = true
+ $purge_cinder_config = true,
+ $package_ensure = 'present'
) {
if ($purge_cinder_config) {
resources { 'cinder_config':
@@ -14,6 +15,7 @@
}
class { 'cinder::base':
+ package_ensure => $package_ensure,
rabbit_password => $rabbit_password,
rabbit_host => $rabbit_host,
sql_connection => $sql_connection,
@@ -22,6 +24,7 @@
if $manage_volumes {
class { 'cinder::volume':
+ package_ensure => $package_ensure,
enabled => $enabled,
}
if $enabled {

0 comments on commit 77c485e

Please sign in to comment.
Something went wrong with that request. Please try again.