Seite 1 von 1
					
				Sync between Depots
				Verfasst: 10 Jul 2025, 11:36
				von Infotech
				Hello guys,
I need help with figuring out how to sync software packages from main server to other depots.
https://docs.opsi.org/opsi-docs-en/4.3/ ... depot.html - Here I can see only for manual installation to all depots
 
			 
			
					
				Re: Sync between Depots
				Verfasst: 10 Jul 2025, 12:02
				von fkalweit
				Hi, 
you can edit the file /etc/opsi/package-updater.repos.d/opsi-server.repo and set active to false in all other repo files.
The opsi-server.repo should then look something like this:
Code: Alles auswählen
[repository_opsi_server]
active = true
opsiDepotId = opsiserver.your.domain
autoInstall = true
autoUpdate = true
autoSetup = false
; Inherit ProductProperty defaults from master repository
inheritProductProperties = false
Then you can create a cron job on the depot that executes opsi-package-updater update.
All packages installed on the config server are then automatically installed on the depot server as well.
Viele Grüße
Fabian
 
			 
			
					
				Re: Sync between Depots
				Verfasst: 11 Jul 2025, 14:11
				von Infotech
				Thank you 
