paulbsd-salt/states/gitea/map.jinja

18 lines
409 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
{%- import_yaml "gitea/defaults.yaml" as defaults -%}
{%- set os_family_map = salt['grains.filter_by']({
'Debian': {},
'Suse': {},
2023-10-10 09:07:06 +02:00
'Arch': {},
'RedHat': {},
}, grain="os_family", merge=salt['pillar.get']('gitea:lookup'))
2020-07-10 00:58:55 +02:00
-%}
{%- do defaults.gitea.update(os_family_map) -%}
{%- set gitea = salt['pillar.get'](
'gitea',
default=defaults.gitea,
merge=True
)
2023-10-10 09:07:06 +02:00
-%}