This script performs a number of functions:
- It mirrors a remote repository to a local folder.
- It selects the latest RPM in the folder
- It pushes the latest RPMS to your Satellite server.
Just incase you don't trust the automatic sync on the satellite server itself. Also, future versions will allow you to create baselines to separate dev from production.
Version selection for production channels.
rpm and trollop gems.
Run:
bundle install
Edit config.json to match your channels and repos. Run:
./satellite-mirrorpush.rb --server --username --config