红联Linux门户
Linux帮助

Puppet 2.7.20发布,集中式系统管理工具

发布时间:2012-11-21 10:51:24来源:红联作者:empast
Puppet,是基于Ruby的一个工具,您可以集中管理每一个重要方面,您的系统使用的是跨平台的规范语言,管理所有的单独的元素通常聚集在不同的文件,如用户, CRON作业,和主机一起显然离散元素,如包装,服务和文件。

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

2012-11-19发布了最新稳定版2.7.20,上个版本是2012-08-21的2.7.19 经过1个RC.修正了几个Bug.以及从3.0中借鉴了一些性能提升 其他产品线还是2012-07-10的2.6.17 以及3.0.1.不想升级到3.0的可以继续使用这个版本。

完全改进请见 http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes#2.7.20

2.7.20 is a bug fix release with some performance improvements ported back from 3.0.x line.
For a list of bug fixes targeted for this release, see the bug tracker

Important notes about 2.7.20
Regarding (#15560):
If you had specifically enabled

`managehome => true`for user resources expecting it not to work on Windows, be aware that (#15560) has been resolved,
and this works now for both creation withensure => presentAND deletion withensure => absent.
Previously deleted users (deleted with Puppet < 2.7.20-rc1) will not have their orphaned home directories
removed, however.

Puppet 2.7.20 also addresses concerns regarding a change introduced in Puppet 2.7.16,
“b26699a (#10146)-is not legal in variable names.”, which disallowed the use of dashes in variable names.
Puppet 2.7.20 introduces a new configuration option,allow_variables_with_dashes, which can be set to
trueto allow variables with dashes. The option is set to false by default to maintain existing behavior. The
following commit message includes additional information:

(#10146) `-` in variable names should be deprecated!

In commit b26699a2 I fixed an accidentally introduced change to the lexer,
allowing `-` to be part of a variable name. That had lasted for a while and
was surprisingly popular. It was also hugely ambiguous around `-` as minus,
and led to all sorts of failures - unexpected interpolations to nothing -
because of that.

A much better strategy would have been to deprecate the feature, issue proper
warnings, and include an option to allow users to toggle the behaviour.

Initially defaulting that to "permit", and eventually toggling over to "deny",
would have made the whole experience much smoother - even if this was totally
documented as not working, and was a clear bug that it changed.

So, thanks to prompting from Benjamin Irizarry, we do just that: introduce the
configuration option, default it to "deny" to match current behaviour, but
allow users the choice to change this back.

Please be aware that allowing variables with `-` might break all sorts of
things around, for example, Forge modules though. Most people write code to
the documented standard, and their code might well totally fail to work with
this changed away from the default!

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>

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

主页:http://projects.puppetlabs.com/projects/puppet/

来自:开源中国社区
文章评论

共有 0 条评论