1
0
Fork 0
Commit Graph

20 Commits

Author SHA1 Message Date
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