» Home » Docs » Release notes » Release notes for 0.39
Release notes for 0.39
Common
- New feature flag: exit_status. This will return a non-zero value on exit of rex if a task failed.
use Rex -feature => qw/exit_status/;
rexify command now supports private module servers via a configuration file in $HOME/.rex/config.yml
module_server: search: http://modules.rexify.org/api/0.39/get/recipes recipes: http://modules.rexify.org/api/0.39/get/mod/%s dependencies: http://modules.rexify.org/api/0.39/get/dep/%s perl_dependencies: http://modules.rexify.org/api/0.39/get/perldep/%s username: user password: password realm: authentication-realm
It supports basic authentication. If you don't need authentication you can omit username, password and realm.
Added new function is_installed() to check if a package is already installed on a system.
task "checkit", "server1", sub { if ( is_installed("vim") ) { say "vim is already installed."; } };
fixed bugs
Many thanks to the contributors of this version
- Daniel Baeurer
- Franky Van Liedekerke
- Naveed Massjouni
- Samuele Tognini
New modules
There are also some new cool modules on http://modules.rexify.org/. Many thanks to the authors.
Rex::Webserver::nginx A module to manage your nginx webserver from Michel Kaeser
Rex::Database::MySQL::Replication A module to create and manage MySQL replication from Mike Tonks