发布时间:2015-02-09 17:38:12
前几天用fpm打包了一个rpm, 然后puppet部署,又因为需要更新了,重新打包,并且更新了版本号,故而init.pp也更新如下:cat modules/slow_query_converter/manifests/init.pp# Class: slow_query_converterclass slow_query_converter {.........【阅读全文】
发布时间:2015-02-06 11:28:30
现在用Puppet为主,但它对ad-hoc(临时性的,俗称的一锤子买卖)的任务管理比较弱,比如常见的情况,把所有的http重启,puppet对此无能为力(当然也有workaround,比如在httpd.conf加个注释,然后notify给service)。现在来看下Ansible,无需深入,它跟for... 然后ssh 到每个机器差不多,但又跟puppet类似加了很.........【阅读全文】
发布时间:2015-01-28 11:55:01
cat hiera.yaml ---:backends: - eyaml:eyaml: :datadir: /etc/puppet/hieradata :gpg_gnupghome: /var/lib/puppet/gnupg :extension: yaml:yaml: :datadir: /etc/puppet/hieradata:hierarchy: - "%{::environment}/%{::clientcert}" - "%{::environment}/%{::.........【阅读全文】
发布时间:2014-12-04 13:09:22
cat /tmp/puppetd.1415852379.outinfo: Retrieving plugininfo: Caching catalog for sbx01o.XXX.cominfo: Applying configuration version '1415852083'notice: Finished catalog run in 0.12 seconds怀疑是该repo没有sbx的class, 验证方法,登陆到nbt01o(puppet master) [root@nb.........【阅读全文】
发布时间:2014-11-13 10:48:08
diff -u $NEW/manifests/init.pp $OLD/manifests/init.pp case $productname { /PowerEdge R720/: { - $workers=100, - $ant_servers=12 + $workers=100 }Its a confusing error message, because the problem is actually in the sbx class that sbx::openvpn inherit.........【阅读全文】