Skip to content

Commit

Permalink
feat(formula): add sysctl-formula
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Aug 28, 2019
1 parent 02fbd20 commit e0f6eff
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
1 change: 1 addition & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ ssf:
- ssf
- stack
- sudoers
- sysctl
- syslog-ng
- sysstat
- systemd
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: '* Semi-automated using https://github.com/myii/ssf-formula/pull/11'
body: '* Semi-automated using https://github.com/myii/ssf-formula/pull/13'
github:
owner: saltstack-formulas
repo: ''
Expand Down Expand Up @@ -283,6 +283,7 @@ ssf:
ssf: *formula_default
stack: *formula_default
sudoers: *formula_default
sysctl: *formula_default
syslog-ng: *formula_default
sysstat: *formula_default
systemd: *formula_default
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 @@ -190,6 +190,7 @@ These formulas are already compatible with semantic-release:
* `rkhunter-formula <https://github.com/saltstack-formulas/rkhunter-formula>`_
* `salt-formula <https://github.com/saltstack-formulas/salt-formula>`_
* `sudoers-formula <https://github.com/saltstack-formulas/sudoers-formula>`_
* `sysctl-formula <https://github.com/saltstack-formulas/sysctl-formula>`_
* `syslog-ng-formula <https://github.com/saltstack-formulas/syslog-ng-formula>`_
* `sysstat-formula <https://github.com/saltstack-formulas/sysstat-formula>`_
* `systemd-formula <https://github.com/saltstack-formulas/systemd-formula>`_
Expand Down
22 changes: 22 additions & 0 deletions ssf/formulas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,28 @@ ssf:
platforms: *platforms_old
platforms_matrix: *platforms_matrix_old
semrel_files: *semrel_files_default
sysctl:
context:
git:
github:
repo: sysctl-formula
inspec_suites_kitchen:
0:
inspec_yml:
summary: >-
Verify that the sysctl formula is setup and configured correctly
provisioner:
pillars_from_files:
- .sls: test/salt/pillar/sysctl.sls
platforms_matrix:
# [os , os_ver, salt_ver, py_ver, inspec_suite]
- [debian , 10 , develop, 3, default]
- [ubuntu , 18.04, 2019.2, 3, default]
- [amazonlinux , 2 , 2019.2, 2, default]
- [fedora , 29 , 2018.3, 2, default]
- [opensuse/leap, 15 , 2018.3, 2, default]
# - [centos , 6 , 2017.7, 2, default]
semrel_files: *semrel_files_default
syslog-ng:
context:
git:
Expand Down

0 comments on commit e0f6eff

Please sign in to comment.