Skip to content

Instantly share code, notes, and snippets.

@bodepd
Created December 28, 2011 21:51
Show Gist options
  • Save bodepd/1529962 to your computer and use it in GitHub Desktop.
Save bodepd/1529962 to your computer and use it in GitHub Desktop.
it { should contain_service('glance-api').with_ensure('running') }
it { should contain_service('glance-api').with_enable('true') }
it { should contain_service('glance-api').with_hasstatus('true') }
it { should contain_service('glance-api').with_hasrestart('true') }
it { should contain_service('glance-api').with_subscribe('File[/etc/glance/glance-api.conf]') }
it { should contain_service('glance-api').with_require('Class[glance]') }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment