(R)?ex Changelog

What's new in (R)?ex 0.52.1

Sep 8, 2014
  • Base:
  • on_change hook for update_system
  • update_system
  • on_change => sub {
  • my (@modified_packates) = @_;
  • for my $pkg (@modified_packages) {
  • say "Name: $pkg->{name}";
  • say "Version: $pkg->{version}";
  • say "Action: $pkg->{action}"; # some of updated, installed or removed
  • Added support for end_if_matched option to run command - nathanIL
  • run "my_command",
  • end_if_matched => qr/PATTERN/;
  • Tie server.ini to specified -E environment (server.$environment.ini). - ehu
  • Added before_task_start and after_task_finished hooks
  • The before_task_start hook will be executed before the fork for the task is made. The after_task_finished hook will be executed after all servers has finished the task.
  • before_task_start mytask => sub {
  • # do some things
  • after_task_finished mytask => sub {
  • # do some things
  • Added fallback authentication support.
  • Sometimes you have different authentications on different hosts and you don't know beforehand which one you have to use. For these cases you can now define multiple authentication options. Rex will try all of them.
  • auth fallback => {
  • user => "fallback_user1",
  • password => "fallback_pw1",
  • public_key => "",
  • private_key => "",
  • }, {
  • user => "fallback_user2",
  • password => "fallback_pw2",
  • public_key => "keys/public.key",
  • private_key => "keys/private.key",
  • sudo => TRUE,
  • Cloud:
  • Add floating ip support to openstack provider - exzz
  • Auto upload ssh key to openstack cloud provider - exzz
  • Bugfixes:
  • #381 - file NAME, ensure => 'absent' for a directory
  • #392 - run conditional options with exec_autodir
  • #399 - Rex::Output to persist across different processes - nathanIL
  • #416 - fixed pkg with ensure => 'ver.si.on'

New in (R)?ex 0.44.5 (Feb 24, 2014)

  • This release fixes crashes that occured with shells when using special PS1 characters.

New in (R)?ex 0.44.4 (Feb 17, 2014)

  • This version adds ksh as a supported shell and fixes bugs for the sed and rexify commands.
  • It also fixes a bug where the OpenSSH client crashed.

New in (R)?ex 0.44.2 (Feb 12, 2014)

  • This version fixes sudo handling with no shell and fixes usage of inline templates.

New in (R)?ex 0.44.1 (Feb 4, 2014)

  • This version fixes a bug in SuSE detection and adds another CLI parameter to suppress information logging.

New in (R)?ex 0.44.0 (Jan 27, 2014)

  • This version adds support for external hooks in various functions and experimental support for Docker.
  • There are also many enhancements and bugfixes.

New in (R)?ex 0.43.7 (Oct 4, 2013)

  • This version fixes some bugs in the reporting and in the cmdb module.

New in (R)?ex 0.42.3 (Jul 1, 2013)

  • This version fixes a bug in the crontab module and a bug regarding ownerships of edited files in sudo mode.

New in (R)?ex 0.42.2 (Jun 24, 2013)

  • This is a bugfix release fixing bugs within the OpenSSH connection method, the hostname evaluation in ini files, and the additional server parameters.

New in (R)?ex 0.42.0 (Jun 17, 2013)

  • This version brings support to use Net::OpenSSH as a transport layer.
  • This also enables Kerberos Authentication.
  • Another feature was added to support special parameters/values for servers so it is possible to access data from a cmdb easily.

New in (R)?ex 0.41.3 (May 7, 2013)

  • This release fixes bugs in the caching layer for Rex::Box, the ssh config parser, and a PATH bug in the run() command when using run() with multiple commands.

New in (R)?ex 0.41.2 (Apr 20, 2013)

  • This version fixed bugs in the template processing engine and CLI parameter parsing.

New in (R)?ex 0.41.0 (Apr 2, 2013)

  • This release brings a handful of new functions that ease the use and bug fixes.