Create configuration class for glance client, mirroring puppetlabs nova::client to some degree.
This commit is contained in:
parent
ee7eb63b22
commit
7f08fd4207
12
manifests/client.pp
Normal file
12
manifests/client.pp
Normal file
@ -0,0 +1,12 @@
|
||||
#
|
||||
# Installs the glance python library.
|
||||
#
|
||||
class glance::client (
|
||||
$ensure = 'present',
|
||||
) {
|
||||
|
||||
package { 'python-glance':
|
||||
ensure => $ensure,
|
||||
}
|
||||
|
||||
}
|
5
spec/classes/glance_client_spec.rb
Normal file
5
spec/classes/glance_client_spec.rb
Normal file
@ -0,0 +1,5 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'glance::client' do
|
||||
it { should contain_package('python-glance').with_ensure('present') }
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user