Skip to content
Snippets Groups Projects
Verified Commit 710efc9f authored by Giancarlo Razzolini's avatar Giancarlo Razzolini
Browse files

roles/dbscripts: Change gen_rsyncd.conf template to use archweb_dbscripts user...

roles/dbscripts: Change gen_rsyncd.conf template to use archweb_dbscripts user and host configuration
parent 563970bf
No related branches found
No related tags found
No related merge requests found
......@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment