手机版
你好,游客 登录 注册
背景:
阅读新闻

Puppet 3.6.0 发布,系统管理工具

[日期:2014-05-16] 来源:oschina.net   作者:Linux [字体:大 中 小]

Puppet,是基于Ruby的一个工具,可以集中管理每一个重要方面,使用的是跨平台的规范语言,管理所有单独的元素,通常聚集在不同的文件,如用户, CRON作业,和主机一起的离散元素,如包装,服务和文件。

Puppet的简单陈述规范语言的能力提供了强大的classing制定了主机之间的相似之处,同时使他们能够提供尽可能具体的必要的,它依赖的先决条件和对象之间的关系清楚而明确。

集中式系统管理工具Puppet发布3.6.0,新的产品系列。经过1个RC.向下完全兼容3其他版本。2014-05-15 上个版本是2013-04-16的3.5.1其他产品线3.4.3 3.2.4 3.1.1 3.0.2 2.7.25。

Puppet 学习系列:

Puppet 学习一:安装及简单实例应用 http://www.linuxidc.com/Linux/2013-08/88710.htm

Puppet学习二:简单模块配置和应用 http://www.linuxidc.com/Linux/2013-08/88711.htm

相关阅读:

有关Puppet agent端三种备份恢复方案探讨研究 http://www.linuxidc.com/Linux/2013-07/87885.htm
选择更安全的方式注册你的Puppet节点 http://www.linuxidc.com/Linux/2013-07/87884.htm
通过配置SSH深刻理解Puppet的语法及工作机制 http://www.linuxidc.com/Linux/2013-07/87882.htm
Puppet利用Nginx多端口实现负载均衡 http://www.linuxidc.com/Linux/2013-02/79794.htm
CentOS(5和6)下Puppet的C/S模式实例 http://www.linuxidc.com/Linux/2011-12/50502.htm

完全改进:

Puppet 3.6.0

Released May 15, 2014. (RC1: May 6.)

Puppet 3.6.0 兼容 Puppet 3,最大的改进内容包括:

  • Improvements to directory environments, and the deprecation of config file environments

  • Support for purging unmanagedssh_authorized_keyresources

  • Support for installing gems for a custom provider as part of a Puppet run

  • A configurable global logging level

  • A configurable hashing algorithm (for FIPS compliance and other purposes)

  • Improvements to the experimental future parser

Improvements for Directory Environments

Directory environments were introduced in Puppet 3.5 as a partially finished (but good enough for most people) feature. With Puppet 3.6, we consider them completed. We’re pretty sure they can now handle every use case for environments we’ve ever heard of.

The final piece is theenvironment.conffile. This optional file allows any environment to override themanifest,modulepath, andconfig_versionsettings, which is necessary for some people and wasn’t possible in Puppet 3.5. You can now exclude global module directories for some environments, or point all environments at a global main manifest file. For details, see the page on directory environments and the page on environment.conf.

It’s also now possible to tune the cache timeout for environments, to improve performance on your puppet master. See the note on timeout tuning in the directory environments page.

Deprecation: Config-File Environments and the Globalmanifest/modulepath/config_versionSettings

Now that directory environments are completed, config-file environments are deprecated. Defining environment blocks in puppet.conf will cause a deprecation warning, as will any use of themodulepath,manifest, andconfig_versionsettings in puppet.conf.

This also means that using no environments is deprecated. In a future version of Puppet (probably Puppet 4), directory environments will always be enabled, and the defaultproductionenvironment will take the place of the globalmanifest/modulepath/config_versionsettings.

Related issues:

Feature: Purging Unmanaged SSH Authorized Keys

Purging unmanaged ssh_authorized_key resources has been on the most-wanted features list for a very long time, and we haven’t been able to make theresourcesmeta-type accommodate it.

Fortunately, the user type accommodates it very nicely. You can now purge unmanaged SSH keys for a user by setting thepurge_ssh_keysattribute:

user { 'nick':
  ensure         => present,
  purge_ssh_keys => true,
}

This will purge any keys in~nick/.ssh/authorized_keysthat aren’t being managed as Puppet resources.

Related issues:

Feature: Installing Gems for a Custom Provider During Puppet Runs

Previously, custom providers that required one or more gems would fail if at least one gem was missing before the current puppet run, even if they had been installed by the time the provider was actually called. This release fixes the behavior so that custom providers can rely on gems installed during the same puppet run.

Related issue:

Feature: Globallog_levelSetting

You can now set the global log level using thelog_levelsetting in puppet.conf. It defaults tonotice, and can be set todebug,info,notice,warning,err,alert,emerg, orcrit.

Related issue:

Feature:digest_algorithmSetting

You can now change the hashing algorithm that puppet uses for file digests tosha256using the new digest_algorithmsetting in puppet.conf. This is especially important for FIPS-compliant hosts, which would previously crash when puppet tried to use MD5 for hashing. Changing this setting won’t affect themd5orfqdn_randfunctions.

This setting must be set to the same value on all agents and all masters simultaneously; if they mismatch, you’ll run into two problems:

Related issue:

Improvements to the Future Parser

It’s still experimental, but the future parser has gotten a lot of attention in this release. For example, functions can now accept lambdas as arguments using the new Callable type. There are also a few changes laying the groundwork for the upcoming catalog builder.

OS Support Changes

This release improves compatibility with Solaris 10 and adds support for Ubuntu 14.04 (Trusty Tahr).

Support for Ubuntu 13.04 (Raring Ringtail) has been discontinued; it was EOL’d in January 2014.

Related issues:

Module Tool Changes

The puppet module tool has been updated to deprecate the Modulefile in favor of metadata.json. To help ease the transition, the module tool will automatically generate metadata.json based on a Modulefile if it finds one. If neither Modulefile nor metadata.json is available, it will kick off an interview and generate metadata.json based on your responses.

The new module template has also been updated to include a basic README and spec tests. For more information, see Publishing Modules on the Puppet Forge.

Related issues:

Issues fixed during RC:

Type and Provider Fixes

Package:

Several providers were updated to support theinstall_optionsattribute, and the yum provider now has special behavior to make--enablerepoand--disablerepowork well when you set them asinstall_options.

Nagios:

Cron:

Service:

OpenBSD services can now be enabled and disabled, and we fixed some bugs on other platforms.

File:

We fixed a regression from Puppet 3.0 that broke file resources whosesourceURL specified a server other than the default. (That is,puppet://myserver/modules/...instead ofpuppet:///modules/....)

Yumrepo:

We fixed a few lingering regressions from the big yumrepo cleanup of Puppet 3.5, and added support for theskip_if_unavailableparameter.

Augeas:

We added better control over the way Augeas resources display diffs, for better security and less noise.

General Bug Fixes

All Resolved Issues for 3.6.0

Our ticket tracker has the list of all issues resolved in Puppet 3.6.0.

下载:http://downloads.puppetlabs.com/puppet/puppet-3.6.0.tar.gz

Puppet 的详细介绍:请点这里
Puppet 的下载地址:请点这里

本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-05/101800.htm

linux
相关资讯       Puppet 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款