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