Create configuration class for glance client, mirroring puppetlabs nova::client to some degree.

This commit is contained in:
John Chilton 2012-05-03 10:24:41 -05:00
parent ee7eb63b22
commit 7f08fd4207
2 changed files with 17 additions and 0 deletions

12
manifests/client.pp Normal file
View File

@ -0,0 +1,12 @@
#
# Installs the glance python library.
#
class glance::client (
$ensure = 'present',
) {
package { 'python-glance':
ensure => $ensure,
}
}

View File

@ -0,0 +1,5 @@
require 'spec_helper'
describe 'glance::client' do
it { should contain_package('python-glance').with_ensure('present') }
end