Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit a46e2f62879dd424318c7f8165c9d1afbd836b00 1 parent 388d4ec
Mike Taylor authored
View
10 opsi-master-production/CLIENT_DATA/opsi-master-production.ins
@@ -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"
View
26 opsi-master-production/OPSI/control
@@ -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:
View
9 opsi-master-production/OPSI/postinst
@@ -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
+#
View
9 opsi-master-production/OPSI/preinst
@@ -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
+#
View
10 opsi-master-staging/CLIENT_DATA/opsi-master-staging.ins
@@ -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"
View
26 opsi-master-staging/OPSI/control
@@ -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:
View
9 opsi-master-staging/OPSI/postinst
@@ -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
+#
View
9 opsi-master-staging/OPSI/preinst
@@ -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
+#
Please sign in to comment.
Something went wrong with that request. Please try again.