seacnboy 发表于 2015-06-10 12:24

puppet agent不同步master资源

puppet agent已通过master验证:
puppetmaster及puppet agent服务正常启动;
puppet agent -t无报错,但有如下debug信息:
Debug: Failed to load library 'msgpack' for feature 'msgpack'
Debug: Puppet::Network::Format: feature msgpack is missing
Debug: file_metadata supports formats: pson b64_zlib_yaml yaml raw
Debug: Using cached connection for https :// server195.rj.htth.com:8140
Debug: Caching connection for https :// server195.rj.htth.com:8140

资源配置site.pp为:
node 'server182.rj.htth.com'
{
file {'/tmp/good':
ensure => present,}
}

puppet agent -t log为:
# puppet agent -t
/usr/lib/ruby/site_ruby/1.8/puppet/defaults.rb:214: warning: Insecure world writable dir /home/tomcat7/bin in PATH, mode 040777
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Caching catalog for server182.rj.htth.com
Info: Applying configuration version '1433901191'
Notice: Finished catalog run in 0.03 seconds
#

seacnboy 发表于 2015-06-12 22:50

已处理:master puppet.conf定义了enviormentpath,该环境定义错误,删除后恢复正常同步
页: [1]
查看完整版本: puppet agent不同步master资源