Browse Source

Fix cronjob commands in linux.system.job

Change-Id: I41f63e70ad4bd30dc478eeafeaf2823fa7508373
pull/123/head
chnyda 7 years ago
parent
commit
8e2aecef63
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      linux/system/job.sls

+ 2
- 1
linux/system/job.sls View File

@@ -6,7 +6,8 @@
linux_job_{{ job.command }}:
{%- if job.enabled|default(True) %}
cron.present:
- name: {{ job.command }}
- name: >
{{ job.command }}
{%- if job.get('identifier', True) %}
- identifier: {{ job.get('identifier', job.get('name', name)) }}
{%- endif %}

Loading…
Cancel
Save