Przeglądaj źródła
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 lat temu
Brak konta powiązanego z adresem e-mail autora
1 zmienionych plików z
4 dodań i
1 usunięć
-
linux/system/timezone.sls
|
|
@@ -5,8 +5,11 @@ |
|
|
|
|
|
|
|
{{ system.timezone }}: |
|
|
|
timezone.system: |
|
|
|
{%- if grains.get('noservices') %} |
|
|
|
- onlyif: /bin/false |
|
|
|
{%- endif %} |
|
|
|
- utc: {{ system.utc }} |
|
|
|
|
|
|
|
{%- endif %} |
|
|
|
|
|
|
|
{%- endif %} |
|
|
|
{%- endif %} |