add cinder client

This commit is contained in:
Dan Bode 2012-11-02 10:12:35 -07:00
parent fb153e9e31
commit 704400f0db
2 changed files with 18 additions and 0 deletions

7
manifests/client.pp Normal file
View File

@ -0,0 +1,7 @@
class cinder::client(
$package_ensure = 'present'
) {
package { 'python-cinderclient':
ensure => $package_ensure,
}
}

View File

@ -0,0 +1,11 @@
require 'spec_helper'
describe 'cinder::client' do
it { should contain_package('python-cinderclient').with_ensure('present') }
context 'with params' do
let :params do
{:package_ensure => 'latest'}
end
it { should contain_package('python-cinderclient').with_ensure('latest') }
end
end