echoip/salt/roots/golang.sls
2014-12-22 00:19:01 +01:00

14 lines
302 B
Plaintext

curl:
pkg:
- installed
curl -L https://storage.googleapis.com/golang/go1.4.linux-amd64.tar.gz | tar -zxC /usr/local:
cmd.run:
- unless: test -d /usr/local/go
/etc/profile.d/golang.sh:
file.managed:
- source: salt://files/golang.sh
- user: root
- group: root
- mode: 0644