Puppet安装简录

简介:
Puppet是很好的数据中心管理服务器群的开源软件,关于Puppet,网上介绍很多。我录下自己的安装步骤,供查询和碰到同样问题的人们速查。
4 for CentOS 4.x(只支持agent)
http://download.fedora.redhat.com/pub/epel/
augeas-libs-0.10.0-2.el4.i386.rpm
ruby-libs-1.8.1-7.EL4.1.i386.rpm
ruby-augeas-0.4.1-1.el4.i386.rpm
ruby-1.8.1-7.EL4.1.i386.rpm
facter-1.5.9-1.el4.i386.rpm
puppet-0.25.6-1.el4.i386.rpm
rpm -ivh augeas-libs-0.10.0-2.el4.i386.rpm
rpm -ivh ruby-libs-1.8.1-7.EL4.1.i386.rpm
rpm -ivh ruby-augeas-0.4.1-1.el4.i386.rpm
rpm -ivh ruby-1.8.1-7.EL4.1.i386.rpm
rpm -ivh facter-1.5.9-1.el4.i386.rpm
rpm -ivh puppet-0.25.6-1.el4.i386.rpm连接master时,抱错no default provider for file error:并且没有自动创建/var/lib/puppt/ssl。这是因为别的ruby版本兼容性不好,删除/usr/lib/site_ruby/1.8然后重装ruby-1.8.1-7.EL4.1.i386.rpm, facter-1.5.9-1.el4.i386.rpm, puppet-0.25.6-1.el4.i386.rpm。
SSL证书问题:
rm -f /var/lib/puppet/ssl/*/*.*(client)
rm -f /var/lib/puppet/ca/signed/$clientHostname.*(server)
重新连接即可。
5 for CentOS 5.x
yum
/etc/yum.repos.d/CentOS-Base.repo
URL  to  http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
yum install ruby rdoc
yum install puppet-server(master)
yum install puppet(agent)

本文转自 dannyy1026 51CTO博客,原文链接:
http://blog.51cto.com/dannyyuan/772993
相关文章
|
关系型数据库 网络安全 PostgreSQL
puppet连载14:安装puppetdb
yum install puppetdb puppetdb-terminus -y service puppetdb start vi /etc/puppet/puppet.
1061 0
|
网络协议 应用服务中间件 Shell
puppet连载12:linux安装nginx、openresty
服务端在/puppet/soft 里建nginx1102setup.sh,内容: !/bin/bash yum -y install wget libtool expat-devel gcc gcc-c++ glibc automake autocon...
929 0
|
Java 应用服务中间件 Linux
puppet连载九:linux安装jdk、tomcat模块
安装jdk1.8.0_91和tomcat8.0.36 mkdir -p /etc/puppet/modules/linuxjdktomcat/{manifests,templates,files} vi /etc/puppet/modules/linuxjdktomcat/manifests/init.
1078 0
|
MySQL 关系型数据库 Linux
puppet连载10:linux安装percona57/56/55、sysbench、tpcc模块
在服务端/puppet/soft下建my.cnf,内容为https://www.jianshu.com/p/c63fc6c71279 在服务端/puppet/soft下建changemysql57pass.
1074 0
|
关系型数据库 MySQL Linux
puppet连载四:服务端安装dashboard
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import - curl -L get.rvm.io | bash -s stable source /etc/profile.
1263 0
|
Linux 开发工具 git
puppet连载七:linux基础组件安装模块
linux基础组件安装模块linuxbaseinstall 更换源,安装gcc gcc-c++ glibc-devel make ncurses-devel openssl-devel autoconf git mkdir -p /etc/puppet...
1073 0
|
网络安全 Apache Ruby
puppet连载三:服务端安装http、passenger
服务端安装插件: yum install -y ruby-devel ruby-libs rubygems libcurl-devel httpd httpd-devel apr-util-devel apr-devel mod_ssl gcc-c++...
1066 0
|
消息中间件
puppet 连载二:服务端和客户端安装(ActiveMQ、MCollective)
-------------------------------------服务端----------------------------------- 1、jdk安装 vi /etc/profile export JAVA_HOME=/usr/loca...
1147 0
|
网络协议 Apache
puppet 连载一:服务端和客户端安装(puppet、svn)
1、mkdir /puppet mkdir /puppet/soft 2、服务端安装dnsmasq:yum install -y dnsmasq cp /etc/dnsmasq.
1418 0
|
Linux Windows Ruby
puppet 服务端 客户端安装
转载:http://blog.51cto.com/ywzhou/1576141一、安装说明 官方安装向导https://docs.puppetlabs.com/guides/install_puppet/install_el.
1061 0