【文件属性】:
文件名称:puppet
文件大小:10KB
文件格式:ZIP
更新时间:2021-03-27 08:00:36
Shell
服务器安装
运行引导程序
bash scripts/puppet-server-install.sh
测试(可选)
编辑脚本/facts.txt
vi scripts/facts.txt
运行人偶代理测试脚本
bash scripts/puppet-agent-test.sh --client-test
运行木偶代理
puppet agent -t --environment $ENV
语法检查(可选)
运行检查脚本
bash scripts/check.sh
在服务器上安装代理(可选)
编辑脚本/ansible-hosts.txt
vi scripts/ansible-hosts.txt
运行代理安装脚本
scripts/puppet-agent-install.sh $HOSTGROUP
去做:
implement vault for secrets
【文件预览】:
puppet-master
----.gitignore(44B)
----manifests()
--------site.pp(25B)
----README.md(625B)
----r10k.yaml(122B)
----Puppetfile(2KB)
----hiera.yaml(649B)
----environment.conf(142B)
----scripts()
--------facts.txt(11B)
--------puppet-agent-test.sh(1KB)
--------Vagrantfile(411B)
--------puppet-agent-install.sh(395B)
--------check.sh(701B)
--------puppet-server-install.sh(2KB)
--------docker()
--------ansible-playbook.yaml(1KB)
--------ansible-hosts.txt(562B)
----modules()
--------README.md(31B)
----data()
--------common.yaml(3KB)
--------virtual()