Eric Veiras Galisson
ef88f3d047
fix: corrected indentation on context in file.managed states
vor 5 Jahren
waynegemmell
235f677bc6
Updated to | json for backward compatibility
vor 5 Jahren
waynegemmell
06859f5fbb
Context data wrapped with tojson filter.
vor 5 Jahren
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.
vor 5 Jahren
Eric Veiras Galisson
0d039778f8
integrating patch from danny-smit, fixes #33
vor 6 Jahren
Javier Bértoli
788d08811f
Re-add map.jinja changes from #36 lost on #36
vor 6 Jahren
Javier Bértoli
ea46350673
Make sure dependencies are installed if required, fix tests
vor 6 Jahren
Mark Gomersbach
db3629904c
Move os_family and os mapping to yaml files
- Add Gentoo support
- Add FreeBSD support
vor 6 Jahren
Eric Veiras Galisson
4ac8535dd7
new possibility to configure a job giving the raw content to store as a file
vor 6 Jahren
David Seira
c21746bb64
Added salt tag in job template
vor 7 Jahren
Andre Sencioles
fabbb440bc
Compress rotated files by default on Debian
vor 7 Jahren
Gilles Dartiguelongue
6c3292430d
Fix retrieving configuration from pillar
vor 7 Jahren
Gilles Dartiguelongue
0ac29dd03f
Fix deep merge of settings
vor 7 Jahren
Gilles Dartiguelongue
98e6f6a909
Add support for default logrotate options
vor 7 Jahren
Gilles Dartiguelongue
0846ae41e3
Rename state identifiers
Just for cosmetics
vor 7 Jahren
Gilles Dartiguelongue
f0cf823177
Split init.sls into config, install and service
Following the template-formula example.
vor 7 Jahren
Gilles Dartiguelongue
1c6661a485
Move common settings to defaults.yaml
vor 7 Jahren
kramer
89c5fbaa92
add Scientific Linux support
vor 7 Jahren
Andre Sencioles
6dd570ad43
No need to reload the service on configuration change
vor 8 Jahren
Alejandro Bednarik
dc7d03434b
Updates logrotate.conf for Debian
/var/log group in Ubuntu is syslog. This formula breaks
Ubuntu logrotate.
vor 8 Jahren
edwin
fdfb263e09
Support multiple log path
vor 9 Jahren
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
vor 9 Jahren
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).
vor 9 Jahren
Niels Abspoel
590b9eb56f
add logrotate.conf for suse
vor 9 Jahren
Nicole Scherfenberg
e70f0818d8
fixes issue #5
splits config file name and log file path, so you configure both.
This fixes #5 .
vor 9 Jahren
Michal Galet
73c86743e2
Change the default service name to 'crond' for RHEL based systems.
vor 9 Jahren
nmadhok
c335f5edbc
Moving logrotate directory setup from jobs.sls and config.sls to init.sls. Closes #8
vor 9 Jahren
Niels Abspoel
f142bc6a48
Added opensuse support
vor 9 Jahren
Niels Abspoel
9c8e2bdc63
added Fedora to map.jinja
it's crond service on fedora that initiates logrotate
vor 10 Jahren
root
e730dc8989
add return support lookup
vor 10 Jahren
root
cfc24f6ead
add support jobs
vor 10 Jahren
Niels Abspoel
6f1b01d59f
fix logrotate service name to cron instead of crond
vor 10 Jahren
Niels Abspoel
38808d6221
Initial commit to add all files
vor 10 Jahren