0
0
mirror of https://github.com/saltstack-formulas/sysctl-formula.git synced 2024-11-27 20:57:49 +01:00
Commit Graph

22 Commits

Author SHA1 Message Date
Imran Iqbal
96039ae3a6
test: standardise use of share suite & _mapdata state [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/302
2021-03-23 21:33:49 +00:00
Imran Iqbal
50494dc46f
fix(param.sls): fix salt-lint errors
```bash
Examining sysctl/param.sls of type state
[209] Jinja comment should have spaces before and after: {# comment #}
sysctl/param.sls:4
{## import settings from map.jinja ##}

[209] Jinja comment should have spaces before and after: {# comment #}
sysctl/param.sls:25
{## Support for legacy pillar structure ##}
```
2019-10-09 18:40:17 +01:00
Imran Iqbal
a8bbd2538f
fix(package.sls): fix salt-lint errors
```bash
Examining sysctl/package.sls of type state
[209] Jinja comment should have spaces before and after: {# comment #}
sysctl/package.sls:4
{## import settings from map.jinja ##}
```
2019-10-09 18:40:16 +01:00
Imran Iqbal
6a08317ae7
fix(map.jinja): fix salt-lint errors
```bash
Examining sysctl/map.jinja of type state
[209] Jinja comment should have spaces before and after: {# comment #}
sysctl/map.jinja:4
{## Start with  defaults from defaults.sls and osfamilymap.yml ##}

[209] Jinja comment should have spaces before and after: {# comment #}
sysctl/map.jinja:21
{## Apply backwards compatiblility after merge ##}

[209] Jinja comment should have spaces before and after: {# comment #}
sysctl/map.jinja:29
{## Merge in sysctl pillar ##}
```
2019-10-09 18:40:16 +01:00
Nicolas Rodriguez
270d23ed23 feat(semantic-release): add semantic-release 2019-08-28 02:44:10 +02:00
Nicolas Rodriguez
a4e6a665aa ci(kitchen): add Kitchen tests 2019-08-28 00:43:50 +02:00
Mark Gomersbach
9a0c5cc6f1
Move data to YAML files and keep map.jinja a template
- Add Gentoo support
- Add FreeBSD support
2018-10-16 11:31:59 +02:00
Wolodja Wentland
9d3f30efe8 Check for presence of 'lookup' key
Access to this key might have failed otherwise when the user specifies
no pillar.
2016-06-16 08:39:44 +02:00
Niels Abspoel
2975f9b904 Merge pull request #17 from babilen/remove-redundant-map-entries
Remove redundant entries from map.jinja file
2016-04-28 22:31:39 +02:00
Wolodja Wentland
b7f723bc46 Remove redundant entries from map.jinja file
These values correspond to those defined in defaults.yml and do not have
to be repeated again.
2016-04-28 22:22:44 +02:00
Niels Abspoel
244fc018e4 Revert "Remove redundant entries from map.jinja file" 2016-04-27 15:21:41 +02:00
Wolodja Wentland
77d390f556 Remove redundant entries from map.jinja file
These values correspond to those defined in defaults.yml and do not have
to be repeated again.
2016-04-27 14:16:04 +02:00
Wolodja Wentland
ba8703f3fc Don't set fs.file-max and vm.swappiness by default
Users can easily configure this themselves and it it strongly preferred
if idiosyncratic changes such as this are not part of the default
behaviour.
2016-04-27 14:04:50 +02:00
Wolodja Wentland
cb2822f0f4 Switch to cleaner pillar structure
This commit allows users to specify sysctl parameters in an easier
format than the one that was used before. It moves settings out of the
'lookup' pillar namespace in a backward compatible manner and is
modelled after the old 'params2' approach.

It also introduces a simplified scheme, in which parameters can be
specified as key-value pairs, which makes for cleaner pillars if there
is no need to specify a custom configuration file.
2016-04-26 16:37:07 +02:00
Enver
4a5eec75d7 Incorporated suggestions after initial PR review 2016-02-12 09:42:31 +01:00
Enver
35792ec351 Make it pretty 2016-02-11 15:23:15 +01:00
Enver
936c990809 Added support for dictionary params (params2) 2016-02-11 15:16:46 +01:00
Niels Abspoel
7ddbd5cc5f Added Suse and Debian support to sysctl-formula 2015-06-09 23:30:54 +02:00
zajk
818c709f17 Fixed a typo 2015-05-12 15:48:22 +02:00
zajk
39852a86df Added RedHat family to map.jinja 2015-05-12 15:48:08 +02:00
puneet kandhari
38eb852bce Make the formula fully pillar driven/customizable
- split package and param into separate state files
- use defaults.yml to specify all configurable options of the formula
- setup map.jinja to read in defaults.yml, filter by os_family for
  Arch, and merge in sysctl:lookup pillar
- Updated README
2015-04-06 09:25:27 -05:00
Niels Abspoel
40ad4fe142 sysctl-formula 2015-01-24 17:14:58 +01:00