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 }}