forked from RexOps/Rex
-
Notifications
You must be signed in to change notification settings - Fork 0
New0.30
krimdomu edited this page Jun 17, 2012
·
1 revision
These functions are new in (R)?ex Version 0.30. Download (R)?ex here: http://rexify.org/.
-
2 functions to get more details of users.
# to get a list of all users my @users = user_list(); # to get the groups of user "foo" my @groups = user_groups("foo");
-
New option "type" for the extract function to force the archive type.
-
New option "mode" for the extract function.
-
rex -T now show the server groups as well
-
Better error messages for compile failures in modules
-
Added support for task specific parallelism
task "foo", group => "myservers", sub { # print do something }; Rex::TaskList->get_task("foo")->set_parallelism(10);
-
Added on_change support to the append_if_no_such_line function.
task "foo", group => "myservers", sub { append_if_no_such_line "/etc/groups", "mygroup:*:100:myuser1,myuser2", on_change => sub { print "/etc/groups was changed...\n"; }; };
-
Fixed the problem with pass_auth and rsync.
-
Fixed upload and download function to work in sudo environments.