ppetd 运行在被管理主机上的客户端程序
1.
# puppetd –server puppet.leju
复制代码
3). puppetmasterd 运行在管理机上的服务器程序
1.
# puppetmasterd
复制代码
4). puppetca puppet 认证程序
1. 2. 3.
# puppetca -l pclient.leju
# puppetca -s pclient.leju
复制代码
用于连接客户端, 5). puppetrun 用于连接客户端,强制运行本地配置文件
1.
# puppetrun -p 10 –host host1 –host host2 -t remotefile -t webserver
复制代码
6). filebucket 客户端用于发送文件到 puppet file bucket
的工具
1.
# filebucket -b /tmp/filebucket /my/file
复制代码
7). ralsh 转换配置信息到 puppet 配置代码
1.
# ralsh user luke
2. 3. 4. 5. 6.
user { ‘luke’: home => ‘/home/luke’, uid => ‘100′ , ensure => ‘present’,
comment => ‘Luke Kanies,,,’, 7. 8. gid => ‘1000′ , shell => ‘/bin/bash’,
9.
groups => ['sysadmin','audio','video','puppet'] 10. }
复制代码
上一篇:
开源战略与区域经济_Ruby代码
下一篇:
《南方周末》新闻特稿的采写特点及发展趋势