Skip to content

Commit

Permalink
feat(formula): add timezone-formula
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Aug 27, 2019
1 parent 819d07a commit 47007f5
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ ssf:
- sysstat
- systemd
- template
- timezone
- ufw
- users
- vault
Expand Down
3 changes: 2 additions & 1 deletion ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ssf_node_anchors:
# An alternative method could be to use:
# `git describe --abbrev=0 --tags`
title: 'chore: use `semantic-release` cross-formula standard structure'
body: '* Automated using `ssf-formula` (v0.8.0)'
body: '* Semi-automated using https://github.com/myii/ssf-formula/pull/11'
github:
owner: saltstack-formulas
repo: ''
Expand Down Expand Up @@ -295,6 +295,7 @@ ssf:
1:
<<: *isk_suite_default
name: centos6
timezone: *formula_default
ufw: *formula_default
users: *formula_default
vault:
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 @@ -194,6 +194,7 @@ These formulas are already compatible with semantic-release:
* `sysstat-formula <https://github.com/saltstack-formulas/sysstat-formula>`_
* `systemd-formula <https://github.com/saltstack-formulas/systemd-formula>`_
* `template-formula <https://github.com/saltstack-formulas/template-formula>`_
* `timezone-formula <https://github.com/saltstack-formulas/timezone-formula>`_
* `ufw-formula <https://github.com/saltstack-formulas/ufw-formula>`_
* `users-formula <https://github.com/saltstack-formulas/users-formula>`_
* `vault-formula <https://github.com/saltstack-formulas/vault-formula>`_
Expand Down
14 changes: 14 additions & 0 deletions ssf/formulas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,20 @@ ssf:
- [centos , 6 , 2017.7, 2, centos6]
use_tofs: true
semrel_files: *semrel_files_default
timezone:
context:
git:
github:
repo: timezone-formula
inspec_suites_kitchen:
0:
inspec_yml:
summary: >-
Verify that the timezone formula is setup and configured correctly
provisioner:
pillars_from_files:
- .sls: test/salt/pillar/timezone.sls
semrel_files: *semrel_files_default
ufw:
context:
git:
Expand Down

0 comments on commit 47007f5

Please sign in to comment.