From dc1d0155052de7b6995e93ec5833f10da268e13b Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Sun, 27 Oct 2019 10:30:57 +0000 Subject: [PATCH] feat(formula): add `ntp-formula` --- pillar.example | 1 + ssf/defaults.yaml | 5 +++-- .../docs/CONTRIBUTING.rst | 1 + ssf/formulas.yaml | 21 +++++++++++++++++++ 4 files changed, 26 insertions(+), 2 deletions(-) diff --git a/pillar.example b/pillar.example index 57dc7e70..e72dd6df 100644 --- a/pillar.example +++ b/pillar.example @@ -95,6 +95,7 @@ ssf: - lvm - mysql - nginx + - ntp - openssh - openvpn - php diff --git a/ssf/defaults.yaml b/ssf/defaults.yaml index 4087038a..c78a9e0b 100644 --- a/ssf/defaults.yaml +++ b/ssf/defaults.yaml @@ -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' @@ -333,6 +333,7 @@ ssf: lvm: *formula_default mysql: *formula_default nginx: *formula_default + ntp: *formula_default openssh: *formula_default openvpn: *formula_default packages: diff --git a/ssf/files/tofs_template-formula/docs/CONTRIBUTING.rst b/ssf/files/tofs_template-formula/docs/CONTRIBUTING.rst index ec9eb70e..981e0fb0 100644 --- a/ssf/files/tofs_template-formula/docs/CONTRIBUTING.rst +++ b/ssf/files/tofs_template-formula/docs/CONTRIBUTING.rst @@ -189,6 +189,7 @@ These formulas are already compatible with semantic-release: * `lvm-formula `_ * `mysql-formula `_ * `nginx-formula `_ +* `ntp-formula `_ * `openssh-formula `_ * `openvpn-formula `_ * [`WIP `_] `packages-formula `_ diff --git a/ssf/formulas.yaml b/ssf/formulas.yaml index f287e3ce..ed8bb8d8 100644 --- a/ssf/formulas.yaml +++ b/ssf/formulas.yaml @@ -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: