Bogdan Dobrelya b2f94c1cbd Add compostion layer for c-volume puppet
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-07-24 10:28:40 +02:00

17 lines
356 B
Puppet

$resource = hiera($::resource_name)
$package_ensure = $resource['input']['package_ensure']['value']
include cinder::params
package { 'cinder':
ensure => $package_ensure,
name => $::cinder::params::package_name,
} ->
class {'cinder::volume':
package_ensure => $package_ensure,
enabled => true,
manage_service => true,
}