This commit is contained in:
parent
5003f1e2ac
commit
f319377f37
3
states/tailscale/defaults.yaml
Normal file
3
states/tailscale/defaults.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
tailscale:
|
||||
config: {}
|
4
states/tailscale/init.sls
Normal file
4
states/tailscale/init.sls
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
include:
|
||||
- repo
|
||||
- .install
|
0
states/tailscale/install.sls
Normal file
0
states/tailscale/install.sls
Normal file
3
states/tailscale/kernelmap.yaml
Normal file
3
states/tailscale/kernelmap.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
Linux:
|
||||
os: "linux"
|
14
states/tailscale/map.jinja
Normal file
14
states/tailscale/map.jinja
Normal file
@ -0,0 +1,14 @@
|
||||
{%- import_yaml "systemd/defaults.yaml" as default_settings -%}
|
||||
|
||||
{%- import_yaml "systemd/kernelmap.yaml" as kernelmap %}
|
||||
{%- import_yaml "systemd/osarchmap.yaml" as osarchmap %}
|
||||
|
||||
{%- set defaults = salt['grains.filter_by'](default_settings,
|
||||
default='systemd',
|
||||
merge=salt['grains.filter_by'](osarchmap, grain='osarch',
|
||||
merge=salt['grains.filter_by'](kernelmap, grain='kernel')
|
||||
)
|
||||
)
|
||||
-%}
|
||||
|
||||
{%- set systemd = salt['pillar.get']('systemd', default=defaults, merge=True) -%}
|
24
states/tailscale/osarchmap.yaml
Normal file
24
states/tailscale/osarchmap.yaml
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
amd64:
|
||||
arch: "amd64"
|
||||
|
||||
x86_64:
|
||||
arch: "amd64"
|
||||
|
||||
386:
|
||||
arch: "386"
|
||||
|
||||
arm64:
|
||||
arch: "arm64"
|
||||
|
||||
aarch64:
|
||||
arch: "arm64"
|
||||
|
||||
armv6l:
|
||||
arch: "arm"
|
||||
|
||||
armv7l:
|
||||
arch: "arm"
|
||||
|
||||
armhf:
|
||||
arch: "arm"
|
Loading…
Reference in New Issue
Block a user