(R)?ex - A framework to simplify system administration
for s in $(cat $HOME/myserver.lst); do ssh root@$s “useradd -m myuser“ scp files/zabbix_agentd.conf root@$s:/etc/zabbix done
Hosted Cloud Services
Configuration Management
(R)?ex - Remote Execution
CentOS, Debian, Fedora, Gentoo, Mageia, OpenSuSE, Ubuntu, ...
FreeBSD, NetBSD, OpenBSD
Solaris 10/11
CPAN
Wie funktioniert‘s? Ganz grob, so was ähnliches wie Make
Es gibt ein  Rexfile
Ein normales Perl Script
Userverwaltung
Paketverwaltung
Dienstverwaltung
Konfigurationsverwaltung
Filterregeln (iptables) Configmanagement
Usermanagement task “create_user“, sub { create_user “myuser“ => { groups => [“wheel“, “users“], password => “foobar“, ssh_key => “ssh-rsa AAAAB3NzaC1yc2EAAAADAQ...“, }; }; bash# rex -H “server[1..9]“ create_user
Paketverwaltung task “install_packages“, sub { install package => [ “ sudo“, “ apache2“, “ php5“, ... ]; }; bash# rex -H “server[1..9]“ install_packages
Dienstverwaltung task “start_services“, sub { service apache2 => “start“; service mysql => “start“; service apache2 => “ensure“, “started“; }; bash# rex -H “server[1..9]“  start_services
Konfiguration task “configure_monitoring“, sub { file “/etc/zabbix/zabbix_agentd.conf“, source => “files/etc/zabbix/zabbix_agentd.conf“, owner => “root“,
group => “root“,

Linuxday.at - Lightning Talk