From: helmuth varkoly Date: Sun, 14 Apr 2019 18:55:38 +0000 (+0200) Subject: Added Datenablage modification X-Git-Url: https://repo.cephalix.eu/gitweb/?a=commitdiff_plain;h=e2a0ed84c24696efccc975d74c8ba617fb729cbd;p=Lernwerkstatt10.git Added Datenablage modification --- diff --git a/Lernwerkstatt10.sls b/Lernwerkstatt10.sls index f452394..5522af1 100644 --- a/Lernwerkstatt10.sls +++ b/Lernwerkstatt10.sls @@ -7,8 +7,23 @@ # # Description: SLS to use with OSS's softwaremanagement ############################################################################### +{% if grains['cpuarch'] == 'AMD64' %} +{% set ARCH = "x64" %} +{% else %} +{% set ARCH = "x86" %} +{% endif %} + PACKAGE: pkg: - installed +modDatenablage: + cmd.run: + - onchanges: + - pkg: Lernwerkstatt10 + {% if ARCH == 'x64' %} + - name : 'reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Lernwerkstatt X" /v "Datenablage" /t REG_SZ /d "\\admin\software\Programme\Datenablage-LWSX" /f' + {% else %} + - name : 'reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Lernwerkstatt X" /v "Datenablage" /t REG_SZ /d "\\admin\software\Programme\Datenablage-LWSX" /f' + {% endif %}