» Home » Docs » Release notes » Release notes for 0.38
Release notes for 0.38
Common
added possibility to use local files as templates for rexify command
bash# rexify MyProject --template=/mytemplates/foo.tpl
jorisd updated and fixed documentation
fixed a problem with do_task() and lost ssh connections
Package Management
Debian: Daniel Baeurer added the possibility to add the architecture and an apt key.
Added update_system command to update a complete system.
task "update_all", "server1", sub { update_package_db; update_system; };
Boxes
new function to get a server group out of box names
group foo => map { $_->{name} } list_boxes;
Amazon support for Rex/Boxes
Possibility to describe your Rex/Boxes via a YAML file. So that you don't need to alter your Rexfile if you want to change the Box provider (for example to switch from VirtualBox to Amazon).
use Rex::Commands::Box init_file => "file.yml";
type: VBox vms: fe01: url: http://box.rexify.org/box/ubuntu-server-12.10-amd64.ova network: 1: type: bridged bridge: en1: Wi-Fi (AirPort) setup: setup_frontend db01: url: http://box.rexify.org/box/ubuntu-server-12.10-amd64.ova network: 1: type: bridged bridge: en1: Wi-Fi (AirPort) setup: setup_db type: amazon amazon: access_key: {{access-key}} private_access_key: {{private-access-key}} region: ec2.eu-west-1.amazonaws.com zone: eu-west-1a auth_key: default vms: fe01: ami: ami-c1aaabb5 type: m1.large security_group: default setup: setup_frontend db01: ami: ami-c1aaabb5 type: m1.large security_group: default setup: setup_db
A new function to control boxes.
task "prepare_boxes", sub {
# this will create a defined boxes from the YAML file. boxes "init"; };
task "start_boxes", sub { boxes start => qw/box1 box2/; };
Cloud
- Jonathan Delgado added security group to Amazon module