Puppet错误及解决方法(三)
最近测试3.6.2 的版本出现了一个问题:客户端执行 # puppet agent -t 时 ,提示
Info: Caching catalog for web01
Warning: The package type's allow_virtual parameter will be changing its default value from false to true in a future> (at /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:816:in `set_default')
Info: Applying configuration version '1403492040'
Notice: Finished catalog run in 0.27 seconds
........
出现一个警告,但不影响执行的结果,经查找,找到解决办法,但还是不知道是什么问题,有群友说是版本有问题,最终我也不知道是神码问题的。。
可以在服务器端的 pp文件中的package 中加入 :allow_virtual => false,来解决出现的警告。
原文链接:http://www.minunix.com/2014/06/puppet-faq03/
页:
[1]