mirror of
https://github.com/saltstack-formulas/packages-formula.git
synced 2025-04-17 10:10:27 +00:00

```bash [201] Trailing whitespace packages/archives.sls:97 {% endif %} [201] Trailing whitespace packages/snaps.sls:27 extend: ```
15 lines
387 B
Text
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 %}
|