mirror of
https://github.com/mpolden/echoip.git
synced 2025-07-16 14:03:31 +02:00
Use salt for provisioning
This commit is contained in:
14
salt/roots/golang.sls
Normal file
14
salt/roots/golang.sls
Normal file
@ -0,0 +1,14 @@
|
||||
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
|
Reference in New Issue
Block a user