(R)?ex the friendly automation framework

News

2020-07-05
Rex-1.12.0

The Rex-1.12.0 release is now available on CPAN. It adds support for local rsync operations, improves tab completion for Bash and Zsh, and fixes related bugs. It also discontinues support for running Rex on Windows 7, Windows Server 2008 R2, and older versions since both mainstream and extended support has already ended for these products.

2020-06-09
Rex on StackShare

Thanks to the support from their amazing team, Rex is now listed on StackShare.

2020-06-05
Rex-1.11.0

The Rex-1.11.0 release is now available on CPAN. It enhances the behaviour of sysctl and file management, fixes bugs about group management and OpenSSH connection options, and clarifies quite a bit of documentation.

2020-05-05
Rex-1.10.0

The Rex-1.10.0 release is now available on CPAN (changelog). Apart from documentation updates and bug fixes, it adds initial package glob support, and an on_change hook for the mkdir command.

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.

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.3.0

Release notes for 1.3.0

These are the changes in the 1.3.0 release.

We want to thank every contributor who made this release possible. We also welcome Dmitry Kopytov as new contributor.

During this release cycle we tried to focus more on smoothing out the rougher edges and improving the documentation and test suite. Several aspects of the documentation work are mainly happening in the background and not in the codebase itself for now. So there are no "real" new features this time, but because of the amount of changes, and especially because of enabling the new template engine by default, we felt a new major release was warranted.

Enhancements

New template engine enabled by default

The enhanced template engine, template_ng, has been available since 0.56.0 via the similarly named feature flag. The main advantage of it is the ability to provide actually useful error messages when something goes wrong during template processing, while the format itself remains backward compatible with the previous template handling. There are some examples of those error messages on the original issue.

Automatic parallelism settings

It is now possible set parallelism of task execution more dynamically, e.g. by setting it to max, Rex detects the number of servers a task should be run on, and automatically executes it on all of them in parallel. Some other notation are recognized and supported as well, like max/3, or max 10%. For details, check out the documentation.

Tests

The local test suite has been greatly simplified as part of an ongoing improvement works. Those changes made the test suite ~30% faster and easier to maintain.

General

A bunch of general improvements happened in this release cycle as well, most notably:

All those happened in the following commits:

Documentation

We'd like to say thanks to Eric Johnson for an improved help screen and to Brian Manning for making it possible to list methods and DSL functions in the table of contents and linking to them directly within the page. We also added long-due documentation for the CMDB feature.

Bugfixes

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

Uploading files from Windows to Linux

File upload from Windows machines was fixed by checking the availability of uname and md5sum commands before trying to use them. This fix has been released as rex-1.2.1 as well.

do_task + before_task_start with modules

Fixed an issue when a task was specified in a module and had a before_task_start hook attached to it, then called with do_task from a different module.

General

This release also has some general fixes, most notably around sudo usage (like avoiding an endless loop when used together with auth for or suppressing warnings about missing locales).

Proudly powered by Statocles

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