Skip to content

Commit

Permalink
test(inspec+pillar): support “map.jinja” configuration for Centos-6
Browse files Browse the repository at this point in the history
  • Loading branch information
baby-gnu committed Feb 15, 2020
1 parent 8904851 commit 7bcdb65
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
8 changes: 8 additions & 0 deletions TEMPLATE/parameters/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@ subcomponent:
# Just here for testing
added_in_defaults: defaults_value
winner: defaults
# Configure map.jinja to load formula parameters values
map.jinja:
sources:
- osarch
- os_family
- os
- osfinger
- roles
9 changes: 0 additions & 9 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,6 @@ TEMPLATE:
TEMPLATE-subcomponent-config-file-file-managed:
- 'subcomponent-example.tmpl.jinja'

# Configure map.jinja to load formula parameters values
map.jinja:
sources:
- osarch
- os_family
- os
- osfinger
- roles

# Just for testing purposes
winner: pillar
added_in_pillar: pillar_value

0 comments on commit 7bcdb65

Please sign in to comment.