diff --git a/timezone/init.sls b/timezone/init.sls index f1664d1..081e147 100644 --- a/timezone/init.sls +++ b/timezone/init.sls @@ -15,8 +15,8 @@ timezone.packages: timezone.symlink: file.symlink: - - name: {{ confmap.path-localtime }} - - target: {{ confmap.path-zoneinfo }}{{ timezone }} + - name: {{ confmap.path_localtime }} + - target: {{ confmap.path_zoneinfo }}{{ timezone }} - force: true - require: - pkg: {{ confmap.pkgname }} diff --git a/timezone/map.jinja b/timezone/map.jinja index 49bef33..9586f2b 100644 --- a/timezone/map.jinja +++ b/timezone/map.jinja @@ -1,7 +1,7 @@ {% set map = { 'Suse': { - 'path-localtime': '/etc/localtime', - 'path-zoneinfo': '/usr/share/zoneinfo/', + 'path_localtime': '/etc/localtime', + 'path_zoneinfo': '/usr/share/zoneinfo/', 'pkgname': 'timezone', }, } %}