NFS mount a disk with a common script.
each profile on every server has something like
Code:
. /remote_mount/remote_path/.profile_common
where remote mount has remote_path NFS mounted from one box.
The other choice is to use rsync on the master box and have it keep the master .profile_common file synced with all of the other servers' local copies of the .profile_common files
Either way you maintain just one file that subsequently gets executed everywhere.