From a4f24c1eb21dda95c778a49de6068ed78722a7a7 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Sun, 2 Aug 2020 09:14:28 +0200 Subject: [PATCH] fixed typo --- salt/states/gbt.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/states/gbt.sls b/salt/states/gbt.sls index c90a9fa..516fe01 100644 --- a/salt/states/gbt.sls +++ b/salt/states/gbt.sls @@ -8,7 +8,7 @@ Make sure go directory exists: - group: users - mode: "0755" -{% if not salt['file.directory_exists']('{}/go/src/github.com/jtyr/gbt'.format(salt['user.info']( pillar'username']).home)) %} +{% if not salt['file.directory_exists']('{}/go/src/github.com/jtyr/gbt'.format(salt['user.info']( pillar['username'] ).home )) %} Go get GBT: cmd.run: - name: go get github.com/jtyr/gbt/cmd/gbt