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

Allow to rename the formula so it does not collide with others with the same name (ie, SUSE Manager's)
16 lines
423 B
Text
16 lines
423 B
Text
# -*- coding: utf-8 -*-
|
|
# vim: ft=sls
|
|
|
|
{%- from "./map.jinja" import packages with context %}
|
|
|
|
{%- set wanted_rem_pkgs = packages.remote_pkgs %}
|
|
|
|
### REMOTE PKGS to install directly from a remote URL. Must be a deb/rpm file
|
|
{%- if wanted_rem_pkgs %}
|
|
remote_packages:
|
|
pkg.installed:
|
|
- sources:
|
|
{%- for package, url in wanted_rem_pkgs.items() %}
|
|
- {{ package }}: {{ url }}
|
|
{%- endfor %}
|
|
{%- endif %}
|