Hola mvdelmoral, soy Nacho. Creo que en esta rama de github está la pieza del puzzle que te falta:
https://github.com/kapouik/Wiki/blob/master/english/07.Multi-site-network-architecture/Using-redistribution-servers.md#synchronisation-of-packages-between-servers
Lo reproduzco aquí por si el usuario modifica la rama:
Synchronization of packages between servers
After declaring groups of redistribution in the web interface, you have to implement a synchronization of download directory from the main deployment server to redistribution servers.
Here, an exemple of a script to make the synchronization of the download directory,using SSH protocol(rync). There is a service rsyncd you can install if you use Windows on your servers of redistribution (IIS)(see here).
Warning: You have to synchronize download directory before activate package automatically in web interface.
Note: When you activate the package automatically in web interface, script verify that the package directory exists on servers of redistribution. If this directory is not found by the script to the URL entered, you will get a warning message.
Script of synchronisation
Note: In the example, the redistribution servers are configured basically. Download directory is in /var/www.
You can place your download directory where you want, provided to properly change the configuration of your apache server (or IIS), and your OCS server (configuration in web interface)
##########################################################
# OCS INVENTORY - TRANSFER OF DOWNLOAD DIRECTORY
##########################################################
# Guillaume PRIOU & Frank Bourdeau
##########################################################
echo "Transfert on redistribution server A"
#Synchronisation of download directory containing all OCS packages
rsync -a /var/lib/ocsinventory-reports/download/ IP_REDISTRIBUTION_SERVER_A:/var/www/download
#Script will be launch every day at 05h30 morning
#It's possibleto put a guard dog at 06:00 to make sure
# that transfer is not planted and that a process runs for nothing
heure=`date +"%H%M"`
if [ $heure -gt 0600 ]
then
echo "Transfert on redistribution server B"
#Synchronisation of download directory containing all OCS packages
rsync -a /var/lib/ocsinventory-reports/download/ IP_REDISTRIBUTION_SERVER_B:/var/www
fi
CRON job
Add in crontab file this line (You have to save your script. In exemple : /home/web/syncOCSpackages.sh)
#Performing daily at 5:30 sync script of OCS packages
30 05 * * * root /home/web/syncOCSpackages.sh
Ya me dirás si te funciona ;)