From f156e4b74aead1d80fad6b92b45d579106be6177 Mon Sep 17 00:00:00 2001 From: Thorsten Bro Date: Wed, 28 Sep 2016 16:35:52 +0200 Subject: [PATCH] another symlink bugfix testing --- timezone/init.sls | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/timezone/init.sls b/timezone/init.sls index 8393100..f1664d1 100644 --- a/timezone/init.sls +++ b/timezone/init.sls @@ -13,8 +13,10 @@ timezone.packages: pkg.installed: - name: {{ confmap.pkgname }} -file.symlink: - - name: {{ confmap.path-localtime }} - - target: {{ confmap.path-zoneinfo }}{{ timezone }} - - require: - - pkg: {{ confmap.pkgname }} +timezone.symlink: + file.symlink: + - name: {{ confmap.path-localtime }} + - target: {{ confmap.path-zoneinfo }}{{ timezone }} + - force: true + - require: + - pkg: {{ confmap.pkgname }}