mirror of
https://github.com/saltstack-formulas/packages-formula.git
synced 2025-04-16 09:40:23 +00:00
15 lines
388 B
Text
15 lines
388 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 %}
|