Merge pull request #25 from AAbouZaid/master

Test to make sure consul service is up and running.
This commit is contained in:
Ahmed M. AbouZaid 2017-11-29 23:23:21 +01:00 committed by GitHub
commit 6b2e94a0e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

View file

@ -5,6 +5,11 @@ driver:
privileged: true privileged: true
require_chef_omnibus: false require_chef_omnibus: false
verifier:
name: inspec
inspec_tests:
- test/integration/consul/inspec
platforms: platforms:
- name: ubuntu-14.04 - name: ubuntu-14.04
driver_config: driver_config:

View file

@ -3,3 +3,4 @@ source "https://rubygems.org"
gem "test-kitchen" gem "test-kitchen"
gem "kitchen-docker" gem "kitchen-docker"
gem "kitchen-salt" gem "kitchen-salt"
gem "kitchen-inspec"

View file

@ -0,0 +1,4 @@
describe service('consul') do
it { should be_enabled }
it { should be_running }
end