In our environment we have a variety of scripts that we use on 30+ servers. Currently, we copy the scripts onto each server when the OS is installed. However, this has the problem that changes to scripts require a manual redeployment.
I'm considering setting up a NFS export, but this has some drawbacks:
- I'm under the impression that NFS exports consume network resources even when not in use.
- When I mount the /scripts directory off NFS, it will hide any local scripts.
- Permissions. These machines all have local (file based) users and groups.
- If NFS goes down the scripts are gone.
Other options I have considered are Subversion (or any source control), rsync, and rpms. The benefit to svn is the version control off the scripts. Rsync's simple and allows local scripts. I don't think rpm would work because of our Solaris servers.
We have Solaris, Redhat Enterprise Linux, and Suse Linux servers, and we only have a small number (~10) of small scripts to deploy, so the simpler the better.