diff --git a/manifests/client.pp b/manifests/client.pp new file mode 100644 index 00000000..0e8aa513 --- /dev/null +++ b/manifests/client.pp @@ -0,0 +1,12 @@ +# +# Installs the glance python library. +# +class glance::client ( + $ensure = 'present', +) { + + package { 'python-glance': + ensure => $ensure, + } + +} \ No newline at end of file diff --git a/spec/classes/glance_client_spec.rb b/spec/classes/glance_client_spec.rb new file mode 100644 index 00000000..ab61bce1 --- /dev/null +++ b/spec/classes/glance_client_spec.rb @@ -0,0 +1,5 @@ +require 'spec_helper' + +describe 'glance::client' do + it { should contain_package('python-glance').with_ensure('present') } +end