From 710efc9fe19e2285d1e3e3812dd1ee5481cb9558 Mon Sep 17 00:00:00 2001 From: Giancarlo Razzolini <grazzolini@archlinux.org> Date: Thu, 29 Dec 2016 17:40:57 -0200 Subject: [PATCH] roles/dbscripts: Change gen_rsyncd.conf template to use archweb_dbscripts user and host configuration --- roles/dbscripts/templates/gen_rsyncd.conf.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/dbscripts/templates/gen_rsyncd.conf.pl b/roles/dbscripts/templates/gen_rsyncd.conf.pl index 60276f0ef..bcca6e092 100755 --- a/roles/dbscripts/templates/gen_rsyncd.conf.pl +++ b/roles/dbscripts/templates/gen_rsyncd.conf.pl @@ -6,9 +6,9 @@ use DBI; use Data::Dumper; # TODO put these into credentials.ini and use Config::Simple to read it -my $user = 'archweb_rsync'; -my $pass = '{{ postgres_users.archweb_rsync }}'; -my $db = 'DBI:Pg:dbname=archweb;host=gudrun.archlinux.org;sslmode=require'; +my $user = '{{ archweb_db_dbscripts_user }}'; +my $pass = '{{ archweb_db_dbscripts_password }}'; +my $db = 'DBI:Pg:dbname={{ archweb_db }};host={{ archweb_db_host }};sslmode=require'; my $scriptdir="/etc/rsyncd-conf-genscripts"; my $infile="$scriptdir/rsyncd.conf.proto"; -- GitLab