Rex (software)
{{Short description|Open source software}}
{{Infobox software
| title =
| name = (R)?ex
| logo =
| logo caption =
| screenshot =
| caption =
| collapsible =
| author =
| developer = Jan Gehring, Ferenc Erki
| released = {{Start date|2010|11|05|df=y}}
| discontinued =
| latest release version = {{wikidata|property|edit|reference|P348}}
| latest release date = {{start date and age|{{wikidata|qualifier|P348|P577}}}}
| latest preview version =
| latest preview date =
| programming language = Perl
| operating system = Linux, Unix-like, Windows
| platform =
| size =
| language =
| language count =
| language footnote =
| genre = Configuration management
| license = Apache
| alexa =
| website = {{URL|http://rexify.org/}}
}}
(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".
History
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.
Design
[[File:Rex configuration management, example run.png|frame|alt=Rex configuration management example run alt text|Rex is executed on the command line. Required parameters are fetched from the local Rexfile. The task logic is executed on the local host. The single commands of the specified task are executed atomically on every server.
Rex may connect and execute commands in sequence or in parallel depending on the number of threads used.]]
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.{{cite web |url=http://www.rexify.org/docs/guides/using_modules_and_templates.html |title=Using Modules and Templates |accessdate=April 25, 2018}}
For Rex to be able to work, the managed targets must provide a running SSH server and a Perl 5 interpreter.
Rex serves a variety of applications. Examples are user & group, cron, filesystem, kernel module, process and virtual machine management.{{cite web |url= http://www.rexify.org/api/index.html |title= Rex API documentation |accessdate= February 5, 2014 |url-status= dead |archiveurl= https://archive.today/20140205104239/http://www.rexify.org/api/index.html |archivedate= February 5, 2014 }}
Public recognition
Rex is discussed on conferences and in related press releases.
It was voted under the Best Open Source solutions 2013 by Initiative Mittelstand.{{cite web |url= http://www.open-source-bestenliste.de/produkt/2560-rex.html |title= IT-Bestenliste, Open Source, (R)?ex |publisher= Initiative Mittelstand |accessdate= January 28, 2014 |url-status= dead |archiveurl= https://web.archive.org/web/20131215080554/http://www.open-source-bestenliste.de/produkt/2560-rex.html |archivedate= December 15, 2013 }}
See also
{{Portal|Free and open-source software}}
References
{{reflist}}
External links
- {{official website|http://rexify.org}}