Skip to content

Instantly share code, notes, and snippets.

@bodepd
Created December 28, 2011 22:17
Show Gist options
  • Save bodepd/1530085 to your computer and use it in GitHub Desktop.
Save bodepd/1530085 to your computer and use it in GitHub Desktop.
require 'spec_helper'
describe 'glance::api' do
it { should contain_class 'glance' }
it { should contain_service('glance-api',
'ensure' => 'running',
'hasstatus' => 'true',
'hasrestart' => 'true',
'subscribe' => 'File[/etc/glance/glance-api.conf]'
) }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment