脚本待处理事务1,替换指定行数据2,获取$1 :字段分割【Tips Notes,byRui】从光盘等安装媒介中isntallp -l -d /opt/ruiyhe or /dev/cd0 搜索所有的packages,以:坐字段分割符,使用shell截取$2字段,捕获到的这个字段就是光盘中可以使用的软...
分类:
其他好文 时间:
2014-11-02 19:31:55
阅读次数:
163
demo控制脚本tel,150 5519 8367Running Puppet on AIXPuppet on AIX is… not officially supported, yet still useful (at least one site has it deployed in a pro...
分类:
其他好文 时间:
2014-11-01 19:01:30
阅读次数:
222
The agent/master HTTP interface is REST-like, but varies from strictly RESTful design in several ways. The endpoints used by the agent are detailed in...
分类:
Web程序 时间:
2014-10-31 15:29:38
阅读次数:
207
Puppet's CommandsPuppet’s command line interface consists of a singlepuppetcommand with many subcommands.Puppet’s companion utilities,FacterandHiera, ...
分类:
其他好文 时间:
2014-10-31 15:25:52
阅读次数:
128
Puppet configures systems in two main stages:Compile a catalogApply the catalogThe Agent/Master ArchitecturePuppet usually runs in an agent/master arc...
分类:
其他好文 时间:
2014-10-31 15:02:15
阅读次数:
239
**1. 模板文件是在puppet模块下面templates目录中以”.erb”结尾的文件** puppet模板主要用于文件,例如各种服务的配置文件,相同的服务,不同的配置就可以考虑使用模板文件,例如Nginx和Apache的虚拟主机配置就可...
分类:
其他好文 时间:
2014-10-31 12:16:52
阅读次数:
180
模板文件是在puppet模块下面templates目录中以”.erb”结尾的文件,puppet模板主要用于文件,例如各种服务的配置文件,相同的服务,不同的配置就可以考虑使用模板文件,例如Nginx和Apache的虚拟主机配置就可以考虑采用ERB模板,nginx的安装在这里建议用系统内部自带的YUM源来安..
分类:
其他好文 时间:
2014-10-30 19:22:25
阅读次数:
223
======================================================================================================================================================...
分类:
其他好文 时间:
2014-10-30 18:54:58
阅读次数:
160
一、puppet的简介puppet是一种开源的、新一代的集中化的配置管理工具。可管理的平台有windows,Linux,Unix等。有自己的配置语言(资源申报语言),可管理文件、软件包、系统服务、用户等。这些统称为puppet的资源。puppet是采用ruby语言研发的。工作流程如下图:工作模型:单机..
分类:
其他好文 时间:
2014-10-28 02:13:33
阅读次数:
271
一:介绍puppet用于集中管理多台服务器的file、package、server、cron、user、group、exec(执行shell命令)、yumrepo等常用资源的C/S结构软件二:puppet工作流程puppet客户端通过facter收集客户端信息(主机名、内存、IP地址、系统信息……)并发送给服务端服务器端检测到客户..
分类:
其他好文 时间:
2014-10-27 19:50:19
阅读次数:
199