packages-formula/packages/golang/clean.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
387 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.clean %}
packages-golang-clean-{{ package }}-cmd-run:
cmd.run:
- name: go clean -i {{ package }}...
- runas: {{ packages.rootuser }}
{%- endfor %}