I have a python script install.py
on 20 different machines. I update this script and push it to download.acme.com
after every tested change. Before we start a bigger rollout, what's the most effective way for a new version of this script to check if a newer version of itself exists? Also is scp the best way to distribute newer versions of software to people?
\\ Check for newer version (ftp? ssh?)
download = input("Newer version available! Download? (y/n)")
if(download == 'y'):
scp bob@download.acme.com:~/install.py ~/install.py