Skip to content

Commit b3dba9b

Browse files
classabbyampthe-maldridge
authored andcommitted
services/nomad/build/buildsync: fix rsync username/password
Closes: #251 [via git-merge-pr]
1 parent 0f59c9c commit b3dba9b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

services/nomad/build/buildsync.nomad

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ job "buildsync" {
3737
template {
3838
data = <<EOF
3939
{{- with nomadVar "nomad/jobs/buildsync" -}}
40-
{{.${group.value}_password}}
40+
{{.password}}
4141
{{- end -}}
4242
EOF
4343
destination = "secrets/rsync_passwd"
@@ -56,7 +56,7 @@ sync {
5656
default.rsync,
5757
source = "/hostdir/sources",
5858
{{- range nomadService 1 $allocID "build-rsyncd" -}}
59-
target = "rsync://buildsync-${group.value}@{{ .Address }}:{{ .Port }}/sources",
59+
target = "rsync://buildsync@{{ .Address }}:{{ .Port }}/sources",
6060
{{- end -}}
6161
delay = 15,
6262
filter = {

0 commit comments

Comments
 (0)