##puppet 后期整理 题纲 有道云笔记, puppet 自动化管理
1.1 架构
实际流程图:
1.2 puppet feature
多环境 puppet running environment http://docs.puppetlabs.com/guides/environment.html
分阶段
2,install & config
2.1 install
##install a third party source
rpm -ivh http://mirrors.yun-idc.com/epel/6/i386/epel-release-6-8.noarch.rpm
#master
yum install puppet-server -y
#agent
yum install puppet -y
##agent 申请证书
puppet agent --server master.puppet.com --test
/etc/init.d/puppet start
##mastet 签署证书
puppet cert sign client.puppet.com
注: puppetmaster的主要配置文件是会重载的,不须手动重启 使其生效。 默认master与agent的通信时间 间隔是30分钟(runinterval 这个参数来调节,不用带单位,单位为秒)
##源码安装:
wget --no-check-certificate https://raw.githubusercontent.com/colynn/puppet-manage/master/install/install_puppet_v2.sh
2.2 more config
3,puppet module
4,create yourself module
5,puppet report
dashboard
foreman smart-porxy
6,puppetmaster 负载均衡
7, mcollective调度器