Added include statement to client.pp

This commit is contained in:
Joe Topjian 2013-02-20 20:21:04 +00:00 committed by Dan Bode
parent 8ede661d9e
commit 878594abc7
2 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,9 @@
class cinder::client(
$package_ensure = 'present'
) {
include cinder::params
package { 'python-cinderclient':
name => $::cinder::params::client_package,
ensure => $package_ensure,

View File

@ -2,6 +2,9 @@ require 'spec_helper'
describe 'cinder::client' do
it { should contain_package('python-cinderclient').with_ensure('present') }
let :facts do
{:osfamily => 'Debian'}
end
context 'with params' do
let :params do
{:package_ensure => 'latest'}