]> repo.cephalix.eu Git - psqlodbc.git/commitdiff
New release master
authorbuildmaster <buildmaster@git.cephalix.eu>
Mon, 20 Dec 2021 16:53:24 +0000 (17:53 +0100)
committerbuildmaster <buildmaster@git.cephalix.eu>
Mon, 20 Dec 2021 16:53:24 +0000 (17:53 +0100)
.gitignore
RELEASE
init.sls.in [new file with mode: 0644]

index 12b8d4b495f3dc6fa866536cf9c4d104b666fee4..b5de26360da20351ecb316b8ee40a7b7d9083a34 100644 (file)
@@ -1 +1 @@
-packages.spec
+oss-pkg-psqlodbc.spec
diff --git a/RELEASE b/RELEASE
index c227083464fb9af8955c90d2924774ee50abb547..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d 100644 (file)
--- a/RELEASE
+++ b/RELEASE
@@ -1 +1 @@
-0
\ No newline at end of file
+1
diff --git a/init.sls.in b/init.sls.in
new file mode 100644 (file)
index 0000000..76fec8c
--- /dev/null
@@ -0,0 +1,34 @@
+###############################################################################
+# SLS: psqlodbc
+# Copyright (c) 2021 Peter Varkoly, Nuermberg, Germany.
+# All rights reserved.
+#
+# Authors:               Peter Varkoly
+#
+# Description:          Package SLS
+###############################################################################
+{% if grains['cpuarch'] == 'AMD64' %}
+{% set ARCH = "x64" %}
+{% else %}
+{% set ARCH = "x86" %}
+{% endif %}
+
+{% set LOG_PATH = 'C:\\salt\\var\\log' %}
+
+psqlodbc:
+  'VERSION':
+    {% if ARCH == 'x64' %}
+    full_name: 'psqlODBC_x64'
+    installer: salt://win/repo-ng/psqlodbc/psqlodbc_x64.msi
+    uninstaller: salt://win/repo-ng/psqlodbc/psqlodbc_x64.msi
+    {% else %}
+    full_name: 'psqlODBC_x86'
+    installer: salt://win/repo-ng/psqlodbc/psqlodbc_x86.msi
+    uninstaller: salt://win/repo-ng/psqlodbc/psqlodbc_x86.msi
+    {% endif %}
+    install_flags: '/qn /log "{{ LOG_PATH }}\psqlodbc.log"'
+    uninstall_flags: '/qn /log "{{ LOG_PATH }}\psqlodbc_uninst.log"'
+    msiexec: True
+    locale: de_DE
+    reboot: False
+    cache_dir: True