mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
c3e8207b2e
Signed-off-by: Miah Johnson <miah@chia-pet.org>
59 lines
1.2 KiB
YAML
59 lines
1.2 KiB
YAML
---
|
|
driver:
|
|
name: vagrant
|
|
|
|
provisioner:
|
|
name: chef_solo
|
|
|
|
verifier:
|
|
name: inspec
|
|
sudo: true
|
|
|
|
lifecycle:
|
|
pre_converge:
|
|
- local: gem build inspec-core.gemspec --output test/kitchen/cookbooks/os_prepare/files/inspec-core-local.gem
|
|
|
|
platforms:
|
|
- name: amazonlinux
|
|
- name: amazonlinux-2
|
|
- name: centos-6
|
|
- name: centos-7
|
|
- name: centos-8
|
|
- name: debian-8
|
|
- name: debian-9
|
|
- name: debian-10
|
|
- name: fedora-latest
|
|
- name: freebsd-12
|
|
- name: opensuseleap-15
|
|
- name: ubuntu-16.04
|
|
- name: ubuntu-18.04
|
|
|
|
suites:
|
|
- name: resources-core
|
|
run_list:
|
|
- recipe[build-essential]
|
|
- recipe[os_prepare]
|
|
- recipe[audit]
|
|
verifier:
|
|
name: inspec
|
|
inspec_tests:
|
|
- test/kitchen/policies/find_files
|
|
attributes:
|
|
audit:
|
|
attributes:
|
|
audit_attribute: 'Attribute Override!'
|
|
insecure: true
|
|
reporter: ['json-file','chef-automate']
|
|
fetcher: 'chef-automate'
|
|
json_file:
|
|
location: /tmp/json_export.json
|
|
profiles:
|
|
- name: integration
|
|
url: https://github.com/inspec/inspec-integration-profile/archive/master.zip
|
|
osprepare:
|
|
docker: true
|
|
application: false
|
|
|
|
- name: resources-database
|
|
- name: resources-unix
|
|
- name: resources-windows
|