设为首页 收藏本站
查看: 1337|回复: 0

[经验分享] Puppet 3.2.1发布,集中式系统管理工具

[复制链接]

尚未签到

发表于 2015-9-16 11:33:00 | 显示全部楼层 |阅读模式
  Puppet,是基于Ruby的一个工具,您可以集中管理每一个重要方面,您的系统使用的是跨平台的规范语言,管理所有的单独的元素通常聚集在不同的文件,如用户, CRON作业,和主机一起显然离散元素,如包装,服务和文件。
  Puppet的简单陈述规范语言的能力提供了强大的classing制定了主机之间的相似之处,同时使他们能够提供尽可能具体的必要的,它依赖的先决条件和对象之间的关系清楚和明确。
  发布3.2.1正式版。2013-05-23 经过2个RC版。这是新的产品系列,未正式发布3.2.0,其他产品线为3.1.1/3.0.2/2.7.21/2.6.18 此版本包括支持Ruby 2.0,支持OpenWRT OS,支持External CA,新的modulo (%) 以及Bug修正等。
  完全改进:
Puppet 3.2.1
  3.2.1 is a bugfix release of the Puppet 3.2 series. It addresses two major issues that were uncovered in 3.2.0 and caused us to pull that release (#20726 and #20742). It also includes a fix for Solaris support (#19760).
  Issues fixed:

  • Bug #19760: install sun packages failed with:Error: /Stage[main]/Inf_sol10defaultpkg/Package[SMCcurl]: Could not evaluate: Unable to get information about package SMCcurl because of: No message
  • Bug #20726: usermod command arguments out of order
  • Bug #20742: unauthenticated clients unable to communicate with puppet master (running in passenger)
Known Regressions
  On Windows, Puppet 3.2.1 is unable to manage the home directory for a user account. (Bug #20768) This is a regression from Puppet 3.1.1; it was introduced by switching to Ruby 1.9 in the Windows .msi package. This bug will be fixed soon in a point release, but wasn’t severe enough to delay shipping.
All 3.2.1 Changes
  See here for a list of all changes in the 3.2.1 release.
Puppet 3.2.0
  3.2.0 is a backward-compatible features and fixes release in the Puppet 3 series. It was never officially released, as major bugs were discovered after the release was tagged but before it was published; 3.2.1 was the first official Puppet 3.2 release.
  The most notable changes are:

  • An optional, experimental “Future” parser
  • Ruby 2.0 support
  • OpenWRT OS support
  • External CA support
  • A new modulo (%) operator
  • New slow catalog profiling capabilities
  • General improvements and fixes, including improved splay behavior, fixes to the cron type, improvements to the module tool, and some Hiera-related fixes
  Ruby Bug Warning: Ruby 1.9.3-p0 has bugs that cause a number of known issues with Puppet 3.2.0 and later, and you should use a different release. To the best of our knowledge, these issues were fixed in the second public release of Ruby 1.9.3 (p125), and we are positive they are resolved in p392 (which ships with Fedora 18). Unfortunately, Ubuntu Precise ships with p0 for some reason, and there’s not a lot we can do about it. If you’re using Precise, we recommend using Puppet Enterprise or installing a third-party Ruby package.
Experimental “Future” Parser With Iteration
  In a first for Puppet, we’re shipping two versions of the Puppet language in one release.

  • Language: Experimental Features (Puppet 3.2)
  • Demonstration: Revision of the puppet-network module using experimental features (GitHub home for the revised module)
  By default, Puppet 3.2 is backward compatible with Puppet 3.1, with only minimal new language features (the modulo operator). However, if you setparser = futurein puppet.conf, you can try out new, proposed language features like iteration (as defined in arm-2). See the documents linked above for complete details.
  Note that features in the experimental parser are exempt from semantic versioning. They might change several times before being released in the “current” parser.
  (Issues 19983 and 11331)
Ruby 2.0 Support
  Special thanks to: Dominic Cleal.
  Previous releases almost worked on Ruby 2.0; this one officially works.
  (Issue 18494)
OpenWRT OS Support
  Special thanks to: Kyle Anderson.
  OpenWRT is a distribution of Linux that runs on small consumer-grade routers, and you can now manage more of it with Puppet. This requires Facter 1.7.0-rc1 or later, as well as Puppet 3.2. Puppet Labs doesn’t ship any packages for OpenWRT.
  New OpenWRT support includes:

  • Facter values:

    • operatingsystemandosfamilywill report asOpenWrt
    • operatingsystemreleasewill resolve correctly, by checking the/etc/openwrt_versionfile
    • General Linux facts will generally resolve as expected.

  • Packages:

    • The newopkgprovider can install packages and dependencies from the system repositories (set in/etc/opkg.conf), can ensure specific package versions, and can install packages from files.

  • Services:

    • The newopenwrtprovider can enable/disable services on startup, as well as ensuring started/stopped states. Since OpenWRT init scripts don’t have status commands, it uses the system process table to detect status; if a service’s process name doesn’t match the init script name, be sure to specify astatusorpatternattribute in your resources.

  (Issue 19877)
External CA Support
  Special thanks to: Dustin Mitchell.


  • Puppet 3 reference manual: using an external CA.
  We now officially support using an external certificate authority with Puppet. See the documentation linked above for complete details.
  If you were stalled on 2.7.17 due to bug 15561, upgrading to 3.2 should fix your problems.
  (Issues 15561, 17864, 19271, and 20027)
Modulo Operator
  Special thanks to: Erik Dalén.
  The new %modulo operator will return the remainder of dividing two values.
  (Issue 18950)
Better Profiling and Debugging of Slow Catalog Compilations
  Special thanks to: Andy Parker and Chris Price.
  If you set theprofilesetting totruein an agent node’s puppet.conf (or specify--profileon the command line), the puppet master will log additional debug-level messages about how much time each step of its catalog compilation takes.
  If you’re trying to profile, be sure to check the--logdestand--debugcommand-line options on the master — debug must be on, and messages will go to the log destination, which defaults to syslog. If you’re running via Passenger or another Rack server, these options will be set in the config.ru file.
  To find the msessages, look for the stringPROFILEin the master’s logs — each catalog request will get a unique ID, so you can tell which messages are for which request.
  (Issue 17190)
General Improvements and Fixes
Splay Fixes for Puppet Agent
  The splaysetting promised relief from thundering-herd problems, but it was broken; the agents would splay on their first run, then they’d all sync up on their second run. That’s fixed now.
  (Issues 14766 and 18211)
Cron Fixes
  Special thanks to: Felix Frank, Stefan Schulte, and Charlie Sharpsteen.
  The cron resource type is now much better behaved, and some truly ancient bugs are fixed.
  (Issues 593, 656, 1453, 2251, 3047, 5752, 16121, 16809, 19716, and 19876)
Module Tool Improvements
  Thepuppet modulecommand no longer misbehaves on systems without GNUtarinstalled, and it works on Windows now.
  (Issues 11276, 13542, 14728, 18229, 19128, 19409, and 15841)
Hiera-Related Fixes
  The calling_moduleandcalling_classpseudo-variables were broken, and automatic parameter lookup would die when it foundfalsevalues. These bugs are both fixed.
  (Issues 14985 and 17474)
puppet:///URIs Pointing to Symlinks Work Now
  Special thanks to: Chris Boot.
  In older versions, asource => puppet:///.....URI pointing to a symlink on the puppet master would fail annoyingly. Now Puppet follows the symlink and serves the linked content.
  (Issue 7680)
Puppet Apply Writes Data Files Now
  Special thanks to: R.I. Pienaar.
  Puppet apply now writes the classes file and resources file. If you run a masterless Puppet site, you can now integrate with systems like MCollective that use these files.
  (Issue 14544)
  下载:http://downloads.puppetlabs.com/puppet/puppet-3.2.1.tar.gz

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-114419-1-1.html 上篇帖子: 配置管理工具puppet与chef对比分析 下篇帖子: 利用puppet管理配置IIS
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表