|Developer(s)||Jan Gehring, Ferenc Erki|
|Initial release||5 November 2010|
1.6.0  / 3 December 2017
|Operating system||Linux, Unix-like, Windows|
(R)?ex or simply Rex is an open source remote execution, configuration management and software deployment tool. It combines Perl and Secure Shell (SSH) for a portable, centralistic approach to its problem domain.
Rex is an acronym for "Remote Execution".
Rex originated from the need of a flexible, parallel remote execution application with software deployment and configuration management capabilities. Unsatisfied with available implementations in 2010, the author of Rex, Jan Gehring, decided to implement a Perl-based tool to cope with his requirements.
Rex is a stand-alone application executing either a single command or so-called tasks. Tasks are specified on the command line and are defined in Rexfiles. A Rexfile takes a similar role for remote execution as a Makefile does for application installation. It is defined via a small DSL, but is essentially a Perl script. Therefore, it can contain arbitrary Perl as well.
For code reuse, configuration instructions are placed in modules which can be included by a Rexfile. A template system for configuration files is available.
For Rex to be able to work, the managed targets must provide a running SSH server and a Perl 5 interpreter.
- "Rex changelog"
- "Using Modules and Templates". Retrieved April 25, 2018.
- "Rex API documentation". Archived from the original on February 5, 2014. Retrieved February 5, 2014.
- "Rex - Deployment and Configuration Management". YAPC::Europe 2013 “Future Perl”. Retrieved February 5, 2014.
- "King of Computers: Managing Computers with Rex". Admin Magazine. Retrieved February 5, 2014.
- "IT-Bestenliste, Open Source, (R)?ex". Initiative Mittelstand. Archived from the original on December 15, 2013. Retrieved January 28, 2014.