Install software from source and clean old versions
I would like some feedback on if Puppet is the right software for this, and if so, the best way of going about doing this.
I am looking to automate software installation and cleanup of older versions. I will be compiling proprietary software from source and installing it out on an NFS mount that is served by an enterprise NFS appliance. The NFS appliance is not a normal Linux server, so installation from RPM/Deb is not an option. The software is also not provided via RPM/Deb packages.
I've read previous questions of this nature but they all seem to be geared towards installation of software locally on single machines. I am looking to do installation of software out on an NFS mount.
I saw that there is a Puppet module called "netinstall" that looked very close to what I am trying to do. I am hoping to have Puppet pick up a tar/gzip package from a certain directory, find the version number by the file name, do the install (configure; make; make install), then clean any versions out of the installation directory (simple rm -rf) that are N versions older than the one it just installed.
Any thoughts on if Puppet can achieve this "the right way" ?