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