diff options
| author | Paul Buetow <paul@buetow.org> | 2022-08-30 13:28:59 +0100 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-08-30 13:28:59 +0100 |
| commit | 2b8efc24b4f0206cf76947cb6afa9cb396c376ee (patch) | |
| tree | 865a92d0d9cec94877af2a3949464b1ee803c6af /frontends/Rexfile | |
| parent | 6d74255b017c9ed5e1c637caf43cd710f76116d0 (diff) | |
add rsyncd
Diffstat (limited to 'frontends/Rexfile')
| -rw-r--r-- | frontends/Rexfile | 12 |
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 { |
