puppet master/agent

puppet master/agent 配置

安装

  • master:
    • yum install puppet-server
  • agent:
    • yum install puppet

自动签名

  • puppet的master端
    • touch autosign.conf
    • 在autosign.conf中添加hostname, 一个hostname一行

配置master和agent

  • master(监听在8140端口):
    • puppet cert list --all 显示master检测到了所有的agent请求, 在hostname前面没有+的表示还没有签名, 此时需要puppet cert sign [hostname | --all]
    • puppet master -v [--daemonize | --no-daemonize]
  • agent:
    • puppet agent --server=hostname [--daemonize | --no-daemonize]

配置kick(默认agent每30分钟发送一个request, 当我们需要立马让客户端实现一些功能时, 可以通过在服务器端使用puppet kick -p 10 -t hostname直接执行)

  • 配置全部都在agent端
  • 在/etc/puppet/puppet.conf中的[agent]中添加listen = true, 这样在启动puppet agent时就是开启8139端口去监听服务器发送过来的catalog, 接着直接执行
  • cd /etc/puppet; vim namespaceauth.conf,添加

       [puppetrunner]
        allow master_node_name
  • vim /etc/auth.conf, 在末尾追加

     path /run
     method save
     auth any
     allow * 
  • 在master端上为agent添加新的manifests的class
  • puppet pick -p 10 -t hostname

puppet多环境配置

  • master中
    • cd /etc/puppet
    • mkdir environment
    • 在[master]中, environments = pro,dev,test
    • 添加[pro], [dev], [test]段
    • mkdir -pv /etc/puppet/environment/{dev,pro,test}/{manifests,modules}
    • 在每一个新增加段中

      [dev]
      modulepath = /etc/puppet/environment/dev/modules
      manifests = /etc/puppet/environment/dev/manifests/site.pp
      fileserver.conf = /etc/puppet/fileserver.conf
  • agent中
    • agent想要用哪个环境就在[agent]中添加envrionment = pro
  • 其他的配置和单环境一样

puppet的master扩展

注意

  • 如果一个agent连接到了master, 而master中没有对应的catalog给agent, 所以会报错, 输出就像是java的报错

转载于:https://www.cnblogs.com/megachen/p/9630816.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Advanced active ragdoll physics complete with ragdoll creation and editing tools from the creator of Final IK. Update 0.9: - Added the Baker, a powerful new tool for baking PuppetMaster physics to Humanoid, Generic and Legacy animation clips. - New highly optimized and easier to use prop system - New optimized API for disconnecting body parts. - Updated documentation - Many bug fixes and stability improvements, see the Release Notes for the complete list. PuppetMaster 0.9 is fully compatible with Final IK 1.9 and Unity 2017/2018/2019 versions. What can I do with PuppetMaster? - Animate ragdolls - Create biped ragdolls with a single click - Edit colliders and joint limits intuitively and visually in the Scene View. - Create procedural behaviors for ragdoll characters. Overview Video Technical Overview? PuppetMaster and ragdoll editing tools work with Humanoid, Generic and Legacy characters, ragdoll creation works with all biped character. There are no known limitations with mobile platforms. PuppetMaster is fully compatible with Unity's built-in IK tools, as well as Final-IK. NB! If you have Final IK, import the Final IK demos from the "PuppetMaster/_Integration" folder. How can I learn PuppetMaster? Questions & Answers Tutorial Video Channel User Manual Script Reference Publisher's Website support@root-motion.com NB! The most basic learning resource for each component can be found by clicking on the help button on the header of right-clicking on the header and clicking on the tutorial/manual links in the context menu. What are your plans for the product? Similar to Final IK, PM will go through a long beta period and enjoy continuous development for years to come. Development will be focused on ensuring the reliability of the product as well as creating new smart procedural behaviors for the Puppets. Looking forward to working together, Partel Lang - developer of PuppetMaster

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值