packages-formula/packages/golang/goget.sls
Imran Iqbal 83ed92bf64
fix(salt-lint): fix all errors
```bash
[201] Trailing whitespace
packages/archives.sls:97
   {% endif %}

[201] Trailing whitespace
packages/snaps.sls:27
extend:
```
2020-01-15 20:17:53 +00:00

15 lines
379 B
Text

# -*- coding: utf-8 -*-
# vim: ft=sls
{#- Get the `tplroot` from `tpldir` #}
{%- set tplroot = tpldir.split('/')[0] %}
{%- from tplroot ~ "/map.jinja" import packages with context %}
{%- for package in packages.golang.goget %}
packages-golang-goget-{{ package }}-cmd-run:
cmd.run:
- name: go get {{ package }}
- runas: {{ packages.rootuser }}
{%- endfor %}