zoukankan      html  css  js  c++  java
  • Puppet3.6.2问题汇总:

    问题01:

    [root@node01 ~]# puppet agent --test

    Info: Retrieving pluginfacts

    Info: Retrieving plugin

    Info: Caching catalog for node01

    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')

    ……………………

    解决办法:

    [root@puppetserver manifests]# pwd

    /etc/puppet/manifests

    添加下列内容到site.pp

    [root@puppetserver manifests]# vi site.pp

    if versioncmp($::puppetversion,'3.6.2') >= 0 {


      $allow_virtual_packages = hiera('allow_virtual_packages',false)


      Package {

        allow_virtual => $allow_virtual_packages,

      }

    }


    import "modules.pp" 

    import "nodes.pp"

    ***************************************************************************************************************



  • 相关阅读:
    资源限制
    垃圾收集器
    GC日志
    happens-before
    maven相互依赖导致无法编译成功
    LVM-逻辑卷常用命令和示意图
    取消RAID5
    扩展RAID5的容量
    模拟RAID5损坏
    创建RAID5
  • 原文地址:https://www.cnblogs.com/myiaas/p/4161304.html
Copyright © 2011-2022 走看看