(R)?ex Deployment & Configuration Management

News

2019-07-02
Deprecating official Rex packages

As part of our efforts to simplify maintenance around RexOps projects, we have decided to stop building Rex packages on our side. We recommend relying on OS packages maintained by the various distributions in their respective upstream repositories, or to install Rex from CPAN.

2019-06-09
Post-migration updates & clean-up

Over the course of the past weeks many clean-ups have been done, reaping the benefits provided by our new Statocles-based site:

2019-05-19
New site engine for rexify.org

After months of work on a new site backend, we reached the MVP today for our site to be switched over to a new engine: from now on, our site will be maintained using the static site generator Statocles.

Conferences

2016-06-21

Need Help?

Rex is a pure open source project, you can find community support in the following places:

Professional support is also available.

» Home » Docs » Release notes » Release notes for 1.2.0

Release notes for 1.2.0

These are the changes in the 1.2.0 release.

We want to thank every contributor who made this release possible. We also welcome Eric Johnson and Mitch Broadhead as new contributors.

New features

CMDB merge

Now it is possible to merge CMDB data from different levels of the CMDB hierarchy by choosing various merge strategies. Default strategy is to use the previous behaviour, e.g. first match wins. This feature makes use of Hash::Merge, so it is possible to specify any merge strategy that is supported by that module. For example:

⁠set cmdb {
⁠  type           => 'YAML',
⁠  path           => 'cmdb',
⁠  merge_behavior => 'LEFT_PRECEDENT',
⁠};
⁠set cmdb {
⁠  type           => 'YAML',
⁠  path           => 'cmdb',
⁠  merge_behavior => {
⁠    SCALAR => {...},
⁠    ARRAY  => {...},
⁠    HASH   => {...}
⁠  },
⁠};

Bash tab completion

Following up on the tab completion script posted by Samuele Tognini over at the Rex Users Google group, Eric Johnson took the idea one step forward. As a result of their much appreciated work it is now part of the repo as misc/rex-tab-completion.bash.

It supports host, group, environment and task completion.

Enhancements

Task list

Thanks to the ideas and work of Eric Johnson, the task list output of Rex became easier to read. Changes include sorting of all sections, smarter indention, empty lines between namespaces, plus top-level tasks (the ones in the Rexfile) gets listed before tasks in modules. On top of those, passing a (partial) task name to rex -T will try to match that string on the beginning of defined task names and will only list the matching ones.

General

Rex now allows single-character names for tasks, behaves more correctly when facing stat errors, and recognizes more Red Hat variants. It also become more friendly to hack on by avoiding to throw errors and warnings when used directly from a clone of the git repository.

Documentation

Bugfixes

The following bugs/regressions were also fixed during this release cycle:

Google Group / Twitter / GitHub / Mailinglist / irc.freenode.net #rex   -.ô.-   Disclaimer