Skip to content

Commit

Permalink
Merge pull request #87 from myii/feat/add-ntp-formula
Browse files Browse the repository at this point in the history
feat(formula): add `ntp-formula`
  • Loading branch information
myii authored Oct 31, 2019
2 parents 5df1738 + dc1d015 commit 11a7561
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 @@ -95,6 +95,7 @@ ssf:
- lvm
- mysql
- nginx
- ntp
- openssh
- openvpn
- php
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(kitchen+travis): upgrade matrix after `2019.2.2` release [skip ci]'
body: '* Automated using https://github.com/myii/ssf-formula/pull/86'
title: 'feat(semantic-release): implement for this formula'
body: '* Automated using https://github.com/myii/ssf-formula/pull/87'
# yamllint enable rule:line-length
github:
owner: 'saltstack-formulas'
Expand Down Expand Up @@ -333,6 +333,7 @@ ssf:
lvm: *formula_default
mysql: *formula_default
nginx: *formula_default
ntp: *formula_default
openssh: *formula_default
openvpn: *formula_default
packages:
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 @@ -189,6 +189,7 @@ These formulas are already compatible with semantic-release:
* `lvm-formula <https://github.com/saltstack-formulas/lvm-formula>`_
* `mysql-formula <https://github.com/saltstack-formulas/mysql-formula>`_
* `nginx-formula <https://github.com/saltstack-formulas/nginx-formula>`_
* `ntp-formula <https://github.com/saltstack-formulas/ntp-formula>`_
* `openssh-formula <https://github.com/saltstack-formulas/openssh-formula>`_
* `openvpn-formula <https://github.com/saltstack-formulas/openvpn-formula>`_
* [`WIP <https://github.com/saltstack-formulas/packages-formula/pull/54>`_] `packages-formula <https://github.com/saltstack-formulas/packages-formula>`_
Expand Down
21 changes: 21 additions & 0 deletions ssf/formulas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1080,6 +1080,27 @@ ssf:
travis: *travis_do_not_use_single_job_for_linters
use_tofs: true
semrel_files: *semrel_files_default
ntp:
context:
git:
github:
repo: 'ntp-formula'
inspec_suites_kitchen:
0:
inspec_yml:
summary: >-
Verify that the ntp formula is setup and configured correctly
provisioner:
pillars_from_files:
- .sls: 'test/salt/pillar/default.sls'
state_top:
- '*':
- .ng
yamllint:
rules:
key-duplicates:
ignore: *ignore_pillar_example
semrel_files: *semrel_files_default
openssh:
context:
git:
Expand Down

0 comments on commit 11a7561

Please sign in to comment.