1
0
Fork 0
mirror of synced 2024-12-21 21:51:09 -05:00
Commit graph

31 commits

Author SHA1 Message Date
waynegemmell
06859f5fbb
Context data wrapped with tojson filter. 2019-03-11 16:45:10 +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
Eric Veiras Galisson
0d039778f8 integrating patch from danny-smit, fixes #33 2018-12-05 22:08:20 +01:00
Javier Bértoli
788d08811f Re-add map.jinja changes from #36 lost on #36 2018-11-14 17:27:15 -03:00
Javier Bértoli
ea46350673 Make sure dependencies are installed if required, fix tests 2018-10-26 08:54:02 -03: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
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
David Seira
c21746bb64 Added salt tag in job template 2017-11-23 21:01:23 +01:00
Andre Sencioles
fabbb440bc Compress rotated files by default on Debian 2017-03-29 18:06:25 +13: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
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
kramer
89c5fbaa92 add Scientific Linux support 2017-02-08 16:57:08 -06:00
Andre Sencioles
6dd570ad43 No need to reload the service on configuration change 2017-01-25 09:40:36 +13:00
Alejandro Bednarik
dc7d03434b Updates logrotate.conf for Debian
/var/log group in Ubuntu is syslog. This formula breaks
Ubuntu logrotate.
2016-06-17 08:50:38 -03:00
edwin
fdfb263e09 Support multiple log path 2015-11-20 11:33:35 +08:00
Wolodja Wentland
624700a372 Use items() in lieu of iteritems()
The iteritems dictionary method has been removed in Python 3 and using
items() is typically no problem in our case due to the fact that
dictionaries are rather small.

This fixes #15
2015-10-12 17:22:12 +02:00
Wolodja Wentland
6b15f6490c Define pillar default for logrotate:jobs
This allows users to target this states to minions for which no pillar
has been defined (yet).
2015-10-12 17:21:04 +02:00
Niels Abspoel
590b9eb56f add logrotate.conf for suse 2015-10-02 20:05:54 +02:00
Nicole Scherfenberg
e70f0818d8 fixes issue #5
splits config file name and log file path, so you configure both.
This fixes #5.
2015-05-05 15:20:54 +02:00
Michal Galet
73c86743e2 Change the default service name to 'crond' for RHEL based systems. 2015-04-02 15:28:51 +02:00
nmadhok
c335f5edbc Moving logrotate directory setup from jobs.sls and config.sls to init.sls. Closes #8 2015-03-20 16:05:14 -04:00
Niels Abspoel
f142bc6a48 Added opensuse support 2015-03-07 11:27:15 +01:00
Niels Abspoel
9c8e2bdc63 added Fedora to map.jinja
it's crond service on fedora that initiates logrotate
2015-02-07 10:08:08 +01:00
root
e730dc8989 add return support lookup 2015-01-22 09:08:21 +08:00
root
cfc24f6ead add support jobs 2015-01-21 18:00:07 +08:00
Niels Abspoel
6f1b01d59f fix logrotate service name to cron instead of crond 2015-01-06 20:06:50 +01:00
Niels Abspoel
38808d6221 Initial commit to add all files 2015-01-01 19:52:08 +01:00