Skip to content

Commit

Permalink
feat(formula): add hostsfile-formula
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Jan 20, 2020
1 parent 334ae15 commit c33c1ea
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ ssf:
- firewalld
- golang
- grafana
- hostsfile
- icinga2
- influxdb
- iptables
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
title: 'ci(travis): adjust matrix to use `systemd` platforms only'
body: '* Automated using https://github.com/myii/ssf-formula/pull/120'
title: 'feat(semantic-release): implement for this formula'
body: '* Checked using https://github.com/myii/ssf-formula/pull/121'
# yamllint enable rule:line-length
github:
owner: 'saltstack-formulas'
Expand Down Expand Up @@ -283,6 +283,7 @@ ssf:
firewalld: *formula_default
golang: *formula_default
grafana: *formula_default
hostsfile: *formula_default
icinga2: *formula_default
influxdb: *formula_default
iptables:
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 @@ -181,6 +181,7 @@ These formulas are already compatible with semantic-release:
#. `firewalld-formula <https://github.com/saltstack-formulas/firewalld-formula>`_
#. `golang-formula <https://github.com/saltstack-formulas/golang-formula>`_
#. `grafana-formula <https://github.com/saltstack-formulas/grafana-formula>`_
#. `hostsfile-formula <https://github.com/saltstack-formulas/hostsfile-formula>`_
#. `icinga2-formula <https://github.com/saltstack-formulas/icinga2-formula>`_
#. `influxdb-formula <https://github.com/saltstack-formulas/influxdb-formula>`_
#. `iptables-formula <https://github.com/saltstack-formulas/iptables-formula>`_
Expand Down
11 changes: 11 additions & 0 deletions ssf/formulas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,17 @@ ssf:
travis: *travis_do_not_use_single_job_for_linters
use_tofs: true
semrel_files: *semrel_files_default
hostsfile:
context:
git:
github:
repo: 'hostsfile-formula'
inspec_suites_kitchen:
0:
inspec_yml:
summary: >-
Verify that the hostsfile formula is setup and configured correctly
semrel_files: *semrel_files_default
icinga2:
context:
git:
Expand Down

0 comments on commit c33c1ea

Please sign in to comment.