Skip to content

Commit

Permalink
configurable package version for cinder
Browse files Browse the repository at this point in the history
  • Loading branch information
jkff committed Dec 7, 2012
1 parent 7ff7c32 commit 77c485e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion manifests/cinder.pp
Expand Up @@ -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':
Expand All @@ -14,6 +15,7 @@
}

class { 'cinder::base':
package_ensure => $package_ensure,
rabbit_password => $rabbit_password,
rabbit_host => $rabbit_host,
sql_connection => $sql_connection,
Expand All @@ -22,6 +24,7 @@

if $manage_volumes {
class { 'cinder::volume':
package_ensure => $package_ensure,
enabled => $enabled,
}
if $enabled {
Expand Down

0 comments on commit 77c485e

Please sign in to comment.