How to copy directory from master to hosts
I have been trying to copy a directory from my master to different hosts. I have a script that checks out a code and puts it in certain directory. My template script looks like below.
#!/bin/bash export CVSROOT=:pserver:anonymous@server101:2401/cvs/PXI/ cvs checkout -r 2_a Jcode mv Jcode /etc/example/puppettest/ Now I want to copy this Jcode to my hosts.