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

@@ -16,6 +16,9 @@ linux_job_{{ job.command }}:
{%- if job.get('identifier', True) %}
- identifier: {{ job.get('identifier', job.get('name', name)) }}
{%- endif %}
{%- if job.get('commented', False) %}
- commented: True
{%- endif %}
- user: {{ job_user }}
{%- if job.special is defined %}
- special: '{{ job.special }}'

Loading…
Cancel
Save