(R)?ex the friendly automation framework

News

2020-04-05
Rex-1.9.0

The Rex-1.9.0 release is now available on CPAN, and it adds a new feature flag to force writing UTF-8 encoded files, documents configuration options, and fixes bugs.

2020-03-05
Rex-1.8.2

The Rex-1.8.2 release is now available on CPAN, fixing a bug related to task hooks.

2020-02-05
Rex-1.8.1

The Rex-1.8.1 release is now available on CPAN, improving release automation, packaging, and documentation.

2020-01-05
Rex-1.8.0

The Rex-1.8.0 release is now available on CPAN, adding initial support to manage Void Linux systems.

2019-12-05
Rex-1.7.1

The Rex-1.7.1 release is now available on CPAN, fixing a Windows testing issue, and updating some docs.

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:

Proudly powered by Statocles

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