test(inspec): verify map.jinja dump

We store validated `map.jinja` dump under the profile `files`
directory to access them with `inspec.profile.file('filename')` to
validate the content of the generated mapdata file.

The YAML files contain a value specific to each minion, its hostname,
so we use string format to expand `%{hostname}`.

The `default` inspec profile need to depends on `share` to access the
`system` and `salt_minion` libraries.
This commit is contained in:
Daniel Dehennin committed 2020-07-30 22:00:18 +02:00
1 parent a8d61f4307
commit 0eafbd945c
17 files changed
+2277 -2

No files matched your search

+3
View File
@@ -6,6 +6,9 @@ title: openssh formula
maintainer: SaltStack Formulas
license: Apache-2.0
summary: Verify that the openssh formula is setup and configured correctly
depends:
- name: share
path: test/integration/share
supports:
- platform-name: debian
- platform-name: ubuntu