ReleaseEngineering/OPSI: Difference between revisions

(added production opsi IP)
Line 119: Line 119:




====Testing the package on staging====
==== Testing the package on staging ====
On staging you want to test out the package first to make sure it installs correctly before it goes into production.
On staging you want to test out the package first to make sure it installs correctly before it goes into production.
To create a .opsi package and inform OPSI about it, do the following:
To create a .opsi package and inform OPSI about it, do the following:
(For staging):
(For staging):
  # as root on the opsi server
  # as root on the opsi server
  opsi-makeproductfile dir-containing-your-package/
  cd ~cltbld/opsi-package-sources
opsi-package-manager -i your-package.opsi
su -c './regenerate-package dir-with-your-package'
The package should now be in the opsi-client and you can do a test run of installing it on a staging slave.
If there are any issues and you need to regenerate the package you can simply drop in the new code and run the above again.
 
If there are any issues and you need to regenerate the package you can remove it and try again
opsi-package-manager -r your-package


=== Installing the package file on production ===
=== Installing the package file on production ===
canmove, Confirmed users
6,439

edits