lynn said the following on 04/29/2013 04:27 PM:
Summary. I want to sit at one computer and copy a file to /etc/cron.hourly on all the clients. Without physically walking to each client, I don't think I can do that.
Like I said, that is what Larry wall 'invented' perl for. One of the adages of the perl community is "There's more than one way to do it". Between starting this email and the above line I took a sip of coffee and in that time I thought of another couple of ways to do it. Any and all of them require that you establish some conventions or protocols. For example you might have a directory /usr/share/local which contains all the local scripts and stuff. It is then NFS mounted - that's the convention - on all machines. So when you sync (using perl, ssh, rsync, whatever) or have hacked cron to use ldap for its cronables instead of files in /var/spool... then the scripts are available on all machines. Of course you could just do the same by having all the /etc/cron* stuff NFS'd But, like I said, whatever you do you're going to have to set up come conventions for, and this was the point that Larry made, DISTRIBUTED MACHINE ADMINISTRATION. It doesn't just happen. And yes there are tools and packages that grew out of his original work and other people have cut their own sets of tools How much do you want to have to rebuild your architecture to fit someone else's idea of how such administration should be done? Oh, wait a minute. Are you telling us that your other machines aren't networked, that you CAN'T copy the script with perl, ssh, rsync ... because, in the absence of a network you *HAVE* to physically walk there? -- Never tell people how to do things. Tell them what you want them to achieve, and they will surprise you with their ingenuity. --George Patton -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org