Browse Source

allow commented (disabled) cronjob (#230)

pull/231/head
Michael Feger 3 years ago
parent
commit
fbe96f65f8
No account linked to committer's email address
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      linux/system/job.sls

+ 3
- 0
linux/system/job.sls View File

{%- if job.get('identifier', True) %} {%- if job.get('identifier', True) %}
- identifier: {{ job.get('identifier', job.get('name', name)) }} - identifier: {{ job.get('identifier', job.get('name', name)) }}
{%- endif %} {%- endif %}
{%- if job.get('commented', False) %}
- commented: True
{%- endif %}
- user: {{ job_user }} - user: {{ job_user }}
{%- if job.special is defined %} {%- if job.special is defined %}
- special: '{{ job.special }}' - special: '{{ job.special }}'

Loading…
Cancel
Save