大佬教程收集整理的这篇文章主要介绍了linux – Puppet节点不会从master中提取更改,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
http://terokarvinen.com/2012/puppetmaster-on-ubuntu-12-04
https://Help.ubuntu.com/12.04/serverguide/puppet.html#puppet-installation
http://docs.puppetlabs.com/guides/install_puppet/post_install.html
我到了能够启动puppet节点的程度,并且在master上使用puppet cert –list查看证书并使用cert接受它–sign
但是,通过此点,节点不会从主节点获取更改.主服务器具有以下节点:
include apache2
以下表明:
package { 'apache2': ensure => installed } service { 'apache2': ensure => true,enable => true,require => Package['apache2'] }
我已经多次重启puppet和puppetmaster以及让服务器整个周末都坐着,但节点还没有安装apache2.
编辑:
使用puppet master –verbose -no-daemonize我收到以下内容:
root@puppetmaster:/etc/puppet/manifests# puppet master --verbose -no-daemonize Error: Could not intialize global default setTings: Error parsing arguments Wrapped exception: invalid argument Syntax: '--'
使用`puppet agent –test –noop’我收到以下内容:
root@puppet:/var/log/puppet# puppet agent --test --noop Notice: Skipping run of Puppet configuration client; administratively disabled (Reason: 'Disabled by default on new installations'); Use 'puppet agent --enable' to re-enable.
puppet master --verbose --no-daemonize
在节点服务器上,停止puppet服务并使用Noop运行它:
puppet agent --test --noop
这应该会给你一些输出,希望有助于排除故障.
我的猜测:证书问题.通常是傀儡.
以上是大佬教程为你收集整理的linux – Puppet节点不会从master中提取更改全部内容,希望文章能够帮你解决linux – Puppet节点不会从master中提取更改所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。