mirror of
https://github.com/saltstack-formulas/cron-formula.git
synced 2026-10-24 03:30:06 +02:00
Initial commit
This commit is contained in:
commit
c6c2a1dfd8
7 files changed
+157
No files matched your search
@@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# vim: ft=jinja
|
||||
|
||||
{% set os_family_map = salt['grains.filter_by']({
|
||||
'RedHat': {
|
||||
'pkg': 'cronie',
|
||||
'service': 'crond',
|
||||
},
|
||||
'Debian': {
|
||||
'pkg': 'cron',
|
||||
'service': 'cron',
|
||||
},
|
||||
}, grain='os_family', merge=salt['pillar.get']('cron:lookup')) %}
|
||||
|
||||
{% set cron_settings = salt['pillar.get'](
|
||||
'cron',
|
||||
default=os_family_map,
|
||||
merge=True
|
||||
)
|
||||
%}
|
||||
Reference in new issue
Block a user