Permalink
Browse files

bug 746418 - create opsi-master-production and opsi-master-staging pa…

…ckages to update the opsi-master server IP addresses
  • Loading branch information...
Mike Taylor
Mike Taylor committed May 8, 2012
1 parent 388d4ec commit a46e2f62879dd424318c7f8165c9d1afbd836b00
@@ -0,0 +1,10 @@
+[Initial]
+Message=Switching to Production Master
+StayOnTop=false
+
+[Aktionen]
+Registry_Update
+
+[Registry_Update]
+openkey [HKEY_LOCAL_MACHINE\Software\opsi.org\pcptch]
+set "opsiServiceURL"=REG_SZ:"https://10.26.48.38:4447"
@@ -0,0 +1,26 @@
+[Package]
+version: 1
+depends:
+incremental: False
+
+[Product]
+type: localboot
+; id is a very short name for the package.
+id: opsi_master_production
+; name is a longer, more descript name.
+name: OPSI Master Production Product
+description: Switch to Production Master Product
+advice:
+; You should put the version number of the application here.
+; If this package isn't for installing an application it doesn't really matter.
+version: 1.0
+priority: 0
+licenseRequired: False
+productClasses:
+; Change this to something more sensible.
+setupScript: opsi-master-production.ins
+; These are rarely used.
+uninstallScript:
+updateScript:
+alwaysScript:
+onceScript:
@@ -0,0 +1,9 @@
+#! /bin/sh
+#
+# postinst script for template
+# This script executes after unpacking files from that archive and registering the product at the server.
+#
+# The following environment variables can be used to obtain information about the current installation:
+# PRODUCT_ID: id of the current product
+# CLIENT_DATA_DIR: directory which contains the installed client data
+#
@@ -0,0 +1,9 @@
+#! /bin/sh
+#
+# preinst script for template
+# This script executes before that package will be unpacked from its archive file.
+#
+# The following environment variables can be used to obtain information about the current installation:
+# PRODUCT_ID: id of the current product
+# CLIENT_DATA_DIR: directory where client data will be installed
+#
@@ -0,0 +1,10 @@
+[Initial]
+Message=Switching to Staging Master
+StayOnTop=false
+
+[Aktionen]
+Registry_Update
+
+[Registry_Update]
+openkey [HKEY_LOCAL_MACHINE\Software\opsi.org\pcptch]
+set "opsiServiceURL"=REG_SZ:"https://10.26.48.39:4447"
@@ -0,0 +1,26 @@
+[Package]
+version: 1
+depends:
+incremental: False
+
+[Product]
+type: localboot
+; id is a very short name for the package.
+id: opsi-master-staging
+; name is a longer, more descript name.
+name: OPSI Master Staging Product
+description: Switch to Staging Master Product
+advice:
+; You should put the version number of the application here.
+; If this package isn't for installing an application it doesn't really matter.
+version: 1
+priority: 0
+licenseRequired: False
+productClasses:
+; Change this to something more sensible.
+setupScript: opsi-master-staging.ins
+; These are rarely used.
+uninstallScript:
+updateScript:
+alwaysScript:
+onceScript:
@@ -0,0 +1,9 @@
+#! /bin/sh
+#
+# postinst script for template
+# This script executes after unpacking files from that archive and registering the product at the server.
+#
+# The following environment variables can be used to obtain information about the current installation:
+# PRODUCT_ID: id of the current product
+# CLIENT_DATA_DIR: directory which contains the installed client data
+#
@@ -0,0 +1,9 @@
+#! /bin/sh
+#
+# preinst script for template
+# This script executes before that package will be unpacked from its archive file.
+#
+# The following environment variables can be used to obtain information about the current installation:
+# PRODUCT_ID: id of the current product
+# CLIENT_DATA_DIR: directory where client data will be installed
+#

0 comments on commit a46e2f6

Please sign in to comment.