Browse Source

Don't try to update timezone when grain noservices is set

as it will fail because dbus service is not running

Change-Id: I498f5b09b146c643f4d53ab0cb65146274f12b5d
pull/171/head
Bruno Binet 6 years ago
parent
commit
517a910f29
No account linked to committer's email address
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      linux/system/timezone.sls

+ 4
- 1
linux/system/timezone.sls View File



{{ system.timezone }}: {{ system.timezone }}:
timezone.system: timezone.system:
{%- if grains.get('noservices') %}
- onlyif: /bin/false
{%- endif %}
- utc: {{ system.utc }} - utc: {{ system.utc }}


{%- endif %} {%- endif %}


{%- endif %}
{%- endif %}

Loading…
Cancel
Save