install rsync module --- puppet series

1. The client install rsync module must be downloaded, or client /etc/rsyncd.conf the file is empty
# cd /etc/puppet/modules  #进入模块路径目录
 # git clone https://github.com/onyxpoint/pupmod-concat && mv pupmod-concat concat
 # git clone https://github.com/onyxpoint/pupmod-rsync && mv pupmod-rsync rsync
If you do not have git installed on the host, yum install git -y can be installed, you can also download wget can also be downloaded to a local, on upload to server, many ways to host puppet agent rsync server, first mkdir - p / etc / puppet / modules, and then download and rename module, then do not need to change anything   2. Add node1.pp server 13 parameters defined in FIG., the download module in the client / etc / puppet / modules / section.pp files in rsync / manifests / server in define good option   3. start the update puppet
[root@vmserver62 nodes]#puppetrun -p 10 --host vmclient63
Reference: http: //www.linuxidc.com/Linux/2013-08/88713.htm please indicate the source: http: //www.ttlsa.com/html/2918.html

Reproduced in: https: //my.oschina.net/766/blog/211255

Guess you like

Origin blog.csdn.net/weixin_33794672/article/details/91546120