mirror of
https://github.com/inspec/inspec
synced 2024-11-15 01:17:08 +00:00
bf748d8478
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
28 lines
575 B
YAML
28 lines
575 B
YAML
---
|
|
driver:
|
|
name: vagrant
|
|
|
|
provisioner:
|
|
name: chef_solo
|
|
sudo: true
|
|
|
|
verifier:
|
|
name: inspec
|
|
|
|
platforms:
|
|
- name: ubuntu-18.04
|
|
|
|
lifecycle:
|
|
# Build the InSpec gem so it is available to install during `kitchen converge`
|
|
pre_create:
|
|
- cd ../../../ && gem build inspec.gemspec
|
|
- mv ../../../inspec-*.gem test/cookbooks/inspec_habitat_fixture/files/inspec-local.gem
|
|
post_converge:
|
|
- local: sleep 10 # Wait for Habitat to load/run hab service before `verify`
|
|
|
|
suites:
|
|
- name: default
|
|
run_list:
|
|
- recipe[inspec_habitat_fixture]
|
|
attributes:
|
|
|