summaryrefslogtreecommitdiff
path: root/frontends/Rexfile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-08-30 13:28:59 +0100
committerPaul Buetow <paul@buetow.org>2022-08-30 13:28:59 +0100
commit2b8efc24b4f0206cf76947cb6afa9cb396c376ee (patch)
tree865a92d0d9cec94877af2a3949464b1ee803c6af /frontends/Rexfile
parent6d74255b017c9ed5e1c637caf43cd710f76116d0 (diff)
add rsyncd
Diffstat (limited to 'frontends/Rexfile')
-rw-r--r--frontends/Rexfile12
1 files changed, 11 insertions, 1 deletions
diff --git a/frontends/Rexfile b/frontends/Rexfile
index e9afc08..6919918 100644
--- a/frontends/Rexfile
+++ b/frontends/Rexfile
@@ -89,7 +89,6 @@ task 'dump_info', group => 'frontends', sub { dump_system_information };
desc 'Install base stuff';
task 'base', group => 'frontends',
sub {
- pkg 'rsync', ensure => present;
pkg 'tig', ensure => present;
pkg 'vger', ensure => present;
pkg 'zsh', ensure => present;
@@ -110,6 +109,17 @@ task 'uptimed', group => 'frontends',
service 'uptimed', ensure => 'started';
};
+desc 'Setup rsync';
+task 'rsync', group => 'frontends',
+ sub {
+ pkg 'rsync', ensure => present;
+ file '/etc/rsyncd.conf',
+ content => template('./etc/rsyncd.conf.tpl'),
+ owner => 'root',
+ group => 'wheel',
+ mode => '644';
+ };
+
desc 'Configure the gemtexter sites';
task 'gemtexter', group => 'frontends',
sub {