Skip to content

Commit

Permalink
feat(rabbitmq): manage env file
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Dec 23, 2019
1 parent 5b93520 commit c7eb80b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
2 changes: 1 addition & 1 deletion ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ssf_node_anchors:
# `git describe --abbrev=0 --tags`
# yamllint disable rule:line-length
title: 'ci(kitchen): standardise structure [skip ci]'
body: '* Checked using https://github.com/myii/ssf-formula/pull/114'
body: '* Checked using https://github.com/myii/ssf-formula/pull/115'
# yamllint enable rule:line-length
github:
owner: 'saltstack-formulas'
Expand Down
31 changes: 17 additions & 14 deletions ssf/formulas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ ssf_node_anchors:
- fedora
- amazon
provisioner:
# dependencies_files: &dependencies_files
# - name: 'files'
# path: './test/salt'
dependencies_states: &dependencies_states
- name: 'states'
path: './test/salt'
dependencies_files_and_states: &dependencies_files_and_states
- name: 'files'
path: './test/salt'
- name: 'states'
path: './test/salt'
state_top_salt: &state_top_salt
- '*':
- .pkgrepo
Expand Down Expand Up @@ -412,11 +423,7 @@ ssf:
summary: >-
Verify that the cert formula is setup and configured correctly
provisioner:
dependencies:
- name: 'files'
path: './test/salt'
- name: 'states'
path: './test/salt'
dependencies: *dependencies_files_and_states
pillars_from_files:
- .sls: 'test/salt/pillar/managed.sls'
state_top:
Expand Down Expand Up @@ -1101,9 +1108,7 @@ ssf:
summary: >-
Verify that the logrotate formula is setup and configured correctly
provisioner:
dependencies:
- name: 'states'
path: './test/salt'
dependencies: *dependencies_states
state_top:
- 'G@os_family:Suse':
- states.cron
Expand Down Expand Up @@ -1495,20 +1500,18 @@ ssf:
summary: >-
Verify that the rabbitmq formula is setup and configured correctly
provisioner:
dependencies:
- name: 'files'
path: './test/salt'
dependencies: *dependencies_files_and_states
state_top:
- '*':
- states.files
- .
- .config_files
1:
provisioner:
dependencies:
- name: 'files'
path: './test/salt'
dependencies: *dependencies_files_and_states
state_top:
- '*':
- states.files
- .latest
- .config_files
verifier: *verifier_inspec_tests_default
Expand Down

0 comments on commit c7eb80b

Please sign in to comment.