Skip to content

Commit 5b83f9c

Browse files
authored
Merge pull request #12 from myii/feat/add-cron-formula
feat(formula): add `cron-formula`
2 parents 577f4b4 + b1f434e commit 5b83f9c

File tree

4 files changed

+18
-1
lines changed

4 files changed

+18
-1
lines changed

pillar.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ ssf:
6262
- cert
6363
- chrony
6464
- collectd
65+
- cron
6566
- deepsea
6667
- dhcpd
6768
- fail2ban

ssf/defaults.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ssf_node_anchors:
1515
# An alternative method could be to use:
1616
# `git describe --abbrev=0 --tags`
1717
title: 'chore: use `semantic-release` cross-formula standard structure'
18-
body: '* Semi-automated using https://github.com/myii/ssf-formula/pull/13'
18+
body: '* Semi-automated using https://github.com/myii/ssf-formula/pull/12'
1919
github:
2020
owner: saltstack-formulas
2121
repo: ''
@@ -193,6 +193,7 @@ ssf:
193193
cert: *formula_default
194194
chrony: *formula_default
195195
collectd: *formula_default
196+
cron: *formula_default
196197
deepsea: *formula_default
197198
dhcpd: *formula_default
198199
fail2ban: *formula_default

ssf/files/tofs_template-formula/docs/CONTRIBUTING.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ These formulas are already compatible with semantic-release:
168168
* `cert-formula <https://github.com/saltstack-formulas/cert-formula>`_
169169
* `chrony-formula <https://github.com/saltstack-formulas/chrony-formula>`_
170170
* `collectd-formula <https://github.com/saltstack-formulas/collectd-formula>`_
171+
* `cron-formula <https://github.com/saltstack-formulas/cron-formula>`_
171172
* `deepsea-formula <https://github.com/saltstack-formulas/deepsea-formula>`_
172173
* `dhcpd-formula <https://github.com/saltstack-formulas/dhcpd-formula>`_
173174
* `fail2ban-formula <https://github.com/saltstack-formulas/fail2ban-formula>`_

ssf/formulas.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,20 @@ ssf:
312312
platforms: *platforms_old
313313
platforms_matrix: *platforms_matrix_old
314314
semrel_files: *semrel_files_default
315+
cron:
316+
context:
317+
git:
318+
github:
319+
repo: cron-formula
320+
inspec_suites_kitchen:
321+
0:
322+
inspec_yml:
323+
summary: >-
324+
Verify that the cron formula is setup and configured correctly
325+
provisioner:
326+
pillars_from_files:
327+
- .sls: test/salt/pillar/cron.sls
328+
semrel_files: *semrel_files_default
315329
deepsea:
316330
context:
317331
git:

0 commit comments

Comments
 (0)