Skip to content

Commit

Permalink
feat(formula): add consul-formula
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Mar 26, 2020
1 parent d68f3ee commit 408776c
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
1 change: 1 addition & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ ssf:
- cert
- chrony
- collectd
- consul
- cron
- deepsea
- dhcpd
Expand Down
5 changes: 3 additions & 2 deletions ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ ssf_node_anchors:
# An alternative method could be to use:
# `git describe --abbrev=0 --tags`
# yamllint disable rule:line-length rule:quoted-strings
title: "ci(kitchen+travis): adjust matrix to add '`'3000'`' & remove '`'2017.7'`' [skip ci]"
body: '* Automated using https://github.com/myii/ssf-formula/pull/138'
title: 'feat(semantic-release): implement for this formula'
body: '* Checked using https://github.com/myii/ssf-formula/pull/137'
# yamllint enable rule:line-length rule:quoted-strings
github:
owner: 'saltstack-formulas'
Expand Down Expand Up @@ -272,6 +272,7 @@ ssf:
cert: *formula_default
chrony: *formula_default
collectd: *formula_default
consul: *formula_default
cron: *formula_default
deepsea: *formula_default
dhcpd: *formula_default
Expand Down
1 change: 1 addition & 0 deletions ssf/files/tofs_template-formula/docs/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ These formulas are already compatible with semantic-release:
#. `cert-formula <https://github.com/saltstack-formulas/cert-formula>`_
#. `chrony-formula <https://github.com/saltstack-formulas/chrony-formula>`_
#. `collectd-formula <https://github.com/saltstack-formulas/collectd-formula>`_
#. `consul-formula <https://github.com/saltstack-formulas/consul-formula>`_
#. `cron-formula <https://github.com/saltstack-formulas/cron-formula>`_
#. `deepsea-formula <https://github.com/saltstack-formulas/deepsea-formula>`_
#. `dhcpd-formula <https://github.com/saltstack-formulas/dhcpd-formula>`_
Expand Down
21 changes: 21 additions & 0 deletions ssf/formulas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,27 @@ ssf:
- [opensuse/leap, 15.1 , 2018.3, 2, default]
- [centos , 6 , 2017.7, 2, default]
semrel_files: *semrel_files_default
consul:
context:
git:
github:
repo: 'consul-formula'
inspec_suites_kitchen:
0:
inspec_yml:
summary: >-
Verify that the consul formula is setup and configured correctly
provisioner:
pillars:
- '*':
- base
- .
pillars_from_files:
- base.sls: 'pillar.example'
- .sls: 'test/salt/pillar/default.sls'
platforms: *platforms_new
platforms_matrix: *platforms_matrix_new
semrel_files: *semrel_files_default
cron:
context:
git:
Expand Down

0 comments on commit 408776c

Please sign in to comment.