Forum: CFEngine Help Subject: Re: Server load and client installation Author: tjavo87 Link to topic: https://cfengine.com/forum/read.php?3,25171,25181#msg-25181
sreejithpoothu Wrote: ------------------------------------------------------- > Hi tjavo87, > > All machines are linux boxes.Did u meant to create > a script? Hi, Yes, you can create a script. I assume that you've access to all the machines with ssh. Let's say you have a file called machines which provides all the hostnames of the machines. You can create a for loop that loops through all the lines (servers) and copies the cfengine rpm to it. #!/bin/bash $FILE=/tmp/machines $CFE=/tmp/ for i in $(cat $FILE) do scp -o StrictHostKeyChecking=no $CFE/cfengine-community-3.2.1-1.el6.x86_64.rpm $i:/tmp done After that, create a for loop to run remote ssh commands for installing the package. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine