最近测试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 release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.
(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/
转载于:https://blog.51cto.com/pynliu/1609255
最后
以上就是合适保温杯最近收集整理的关于Puppet错误及解决方法(三)的全部内容,更多相关Puppet错误及解决方法(三)内容请搜索靠谱客的其他文章。
发表评论 取消回复