Imran Iqbal
86aed1ebae
feat(yamllint): include for this repo and apply rules throughout
...
* Semi-automated using `ssf-formula` (v0.5.0)
* Fix errors shown below:
```bash
logrotate-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:")
./logrotate/osmap.yaml
1:1 warning missing document start "---" (document-start)
./logrotate/osfamilymap.yaml
1:1 warning missing document start "---" (document-start)
7:15 warning truthy value should be one of [false, true] (truthy)
12:14 warning truthy value should be one of [false, true] (truthy)
14:23 warning truthy value should be one of [false, true] (truthy)
16:14 warning truthy value should be one of [false, true] (truthy)
24:14 warning truthy value should be one of [false, true] (truthy)
./logrotate/defaults.yaml
4:1 warning missing document start "---" (document-start)
11:23 warning truthy value should be one of [false, true] (truthy)
13:13 warning truthy value should be one of [false, true] (truthy)
15:13 warning truthy value should be one of [false, true] (truthy)
16:1 error too many blank lines (1 > 0) (empty-lines)
pillar.example
3:1 warning missing document start "---" (document-start)
5:4 warning missing starting space in comment (comments)
6:6 warning missing starting space in comment (comments)
6:5 warning comment not indented like content (comments-indentation)
7:6 warning missing starting space in comment (comments)
9:13 warning truthy value should be one of [false, true] (truthy)
11:13 warning truthy value should be one of [false, true] (truthy)
12:15 warning truthy value should be one of [false, true] (truthy)
13:14 warning truthy value should be one of [false, true] (truthy)
26:12 error trailing spaces (trailing-spaces)
48:12 error too many spaces after hyphen (hyphens)
69:1 error too many blank lines (1 > 0) (empty-lines)
```
2019-08-08 10:59:16 +01:00
Niels Abspoel
71696e0b96
Merge pull request #45 from myii/ci/standardise-structure
...
chore: use `semantic-release` cross-formula standard structure
2019-07-21 15:37:35 +02:00
Imran Iqbal
e7c4cdec1c
chore: use semantic-release
cross-formula standard structure
...
* Automated using `ssf-formula` (v0.1.0-rc.1)
2019-07-20 06:13:05 +01:00
semantic-release-bot
c3692e6f49
chore(release): 0.10.0 [skip ci]
...
# [0.10.0](https://github.com/saltstack-formulas/logrotate-formula/compare/v0.9.0...v0.10.0 ) (2019-06-25)
### Bug Fixes
* **test:** on suse using and additional kitchen state ([21a1866
](https://github.com/saltstack-formulas/logrotate-formula/commit/21a1866 ))
### Features
* implement semantic release ([ef086b2
](https://github.com/saltstack-formulas/logrotate-formula/commit/ef086b2 ))
2019-06-25 12:00:35 +00:00
Imran Iqbal
52569d8d93
Merge pull request #44 from daks/semantic-release
...
Semantic release
2019-06-25 12:49:19 +01:00
Eric Veiras Galisson
21a1866e26
fix(test): on suse using and additional kitchen state
2019-06-25 13:36:14 +02:00
Eric Veiras Galisson
ef086b205c
feat: implement semantic release
2019-06-25 13:36:14 +02:00
Nicolas Rodriguez
f99e3b71ac
Merge pull request #43 from daks/context-fix
...
fix: corrected indentation on context in file.managed states
2019-04-11 19:29:22 +02:00
Eric Veiras Galisson
ef88f3d047
fix: corrected indentation on context in file.managed states
2019-04-11 15:04:32 +02:00
Niels Abspoel
ff2d7c790b
Merge pull request #42 from waynegemmell/patch-2
...
Context data wrapped with tojson filter.
2019-03-11 19:53:54 +01:00
waynegemmell
235f677bc6
Updated to | json for backward compatibility
2019-03-11 20:46:15 +02:00
waynegemmell
06859f5fbb
Context data wrapped with tojson filter.
2019-03-11 16:45:10 +02:00
Imran Iqbal
6a43ccab3a
Merge pull request #40 from waynegemmell/master
...
Added | json to the package install
2019-03-06 08:43:46 +00:00
waynegemmell
d34348f06b
Merge pull request #1 from waynegemmell/waynegemmell-patch-1
...
Updated package install with json filter
2019-03-06 09:46:51 +02:00
waynegemmell
03fde1b616
Updated package install with json filter
...
This issue is causing logrotate install to fail. https://github.com/saltstack/salt/issues/51925
I've added | json to mitigate.
2019-03-06 09:46:26 +02:00
Nicolas Rodriguez
cc2bdaed82
Merge pull request #38 from daks/bug-jobname
...
integrating patch from danny-smit, fixes #33
2018-12-06 04:13:29 +01:00
Eric Veiras Galisson
0d039778f8
integrating patch from danny-smit, fixes #33
2018-12-05 22:08:20 +01:00
Niels Abspoel
2db09ef11a
Merge pull request #37 from netmanagers/master
...
Re-add map.jinja changes from #35 lost on #36
2018-11-15 20:13:32 +01:00
Javier Bértoli
788d08811f
Re-add map.jinja changes from #36 lost on #36
2018-11-14 17:27:15 -03:00
Niels Abspoel
8ee4d19eb8
Merge pull request #36 from netmanagers/master
...
Make sure dependencies are installed if required, fix tests
2018-10-26 19:02:24 +02:00
Javier Bértoli
ea46350673
Make sure dependencies are installed if required, fix tests
2018-10-26 08:54:02 -03:00
Javier Bértoli
ddb69af3c0
Merge pull request #34 from daks/travis-tests
...
WIP: configuring travis-ci tests
2018-10-26 08:44:45 -03:00
Eric Veiras Galisson
ceb090831f
configuring travis-ci tests, using Kitchen with Docker, and Inspec
2018-10-16 16:53:01 +02:00
Niels Abspoel
6f6ffe871c
Merge pull request #35 from mgomersbach/move-to-os-yaml-files
...
Move os_family and os mapping to yaml files
2018-10-15 19:39:54 +02:00
Mark Gomersbach
db3629904c
Move os_family and os mapping to yaml files
...
- Add Gentoo support
- Add FreeBSD support
2018-10-15 16:45:15 +02:00
Daniel Wallace
6575a95764
Merge pull request #32 from daks/jobs_contents
...
Adding possibility to submit raw content to configure a job
2018-07-31 09:07:11 -05:00
Eric Veiras Galisson
364ef833cc
adding Inspec tests for raw content jobs
2018-07-12 12:48:52 +02:00
Eric Veiras Galisson
4ac8535dd7
new possibility to configure a job giving the raw content to store as a file
2018-07-12 12:44:01 +02:00
Eric Veiras Galisson
251937f9c3
adding Inspec tests for jobs configuration
2018-07-12 12:09:45 +02:00
Niels Abspoel
42d68051a6
Merge pull request #30 from daks/kitchen-tests
...
adding Inspec tests ran with Kitchen and Vagrant on Debian Stretch
2018-07-06 23:09:50 +02:00
Eric Veiras Galisson
fb2890f6a7
adding Inspec tests ran with Kitchen and Vagrant on Debian Stretch
2018-07-06 15:07:39 +02:00
David Seira
08c09bd1df
Merge pull request #29 from dseira/master
...
Added salt message in the top of the job template
2017-11-24 02:16:30 +01:00
David Seira
c21746bb64
Added salt tag in job template
2017-11-23 21:01:23 +01:00
Javier Bértoli
27001cf583
Merge pull request #28 from mlg-lebo/master
...
Fixed jobs indentation
2017-11-15 08:13:43 -03:00
Vedran Lebo
ac8ece84b7
Fixed jobs indentation
2017-11-15 11:18:45 +01:00
Niels Abspoel
183027653e
Merge pull request #27 from asenci/master
...
Compress rotated files by default on Debian
2017-03-29 08:57:29 +02:00
Andre Sencioles
fabbb440bc
Compress rotated files by default on Debian
2017-03-29 18:06:25 +13:00
Javier Bértoli
74df45ba23
Merge pull request #26 from lexfo/master
...
Allow managing logrotate defaults
2017-03-13 08:07:40 -03:00
Gilles Dartiguelongue
bc4b450e38
Fix default_config example in pillar.example
2017-03-13 11:40:09 +01:00
Gilles Dartiguelongue
6c3292430d
Fix retrieving configuration from pillar
2017-02-14 17:45:52 +01:00
Gilles Dartiguelongue
0ac29dd03f
Fix deep merge of settings
2017-02-14 17:13:57 +01:00
Gilles Dartiguelongue
3676ff6216
Add sample default_config to pillar.example
2017-02-14 17:13:57 +01:00
Gilles Dartiguelongue
98e6f6a909
Add support for default logrotate options
2017-02-14 17:13:57 +01:00
Gilles Dartiguelongue
0846ae41e3
Rename state identifiers
...
Just for cosmetics
2017-02-14 17:13:57 +01:00
Gilles Dartiguelongue
f0cf823177
Split init.sls into config, install and service
...
Following the template-formula example.
2017-02-14 17:13:57 +01:00
Gilles Dartiguelongue
1c6661a485
Move common settings to defaults.yaml
2017-02-14 17:09:22 +01:00
Niels Abspoel
084a1cfda5
Merge pull request #25 from kmkramer/master
...
add Scientific Linux support
2017-02-09 00:11:03 +01:00
kramer
89c5fbaa92
add Scientific Linux support
2017-02-08 16:57:08 -06:00
Niels Abspoel
ac00650755
Merge pull request #24 from asenci/master
...
No need to reload the service on configuration change
2017-02-02 10:35:01 +01:00
Andre Sencioles
6dd570ad43
No need to reload the service on configuration change
2017-01-25 09:40:36 +13:00