hardware specific states

This commit is contained in:
2020-05-24 15:16:54 +02:00
parent e788d011f9
commit 0fd5edc651
4 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{%
set has_fan = salt['pillar.get'](
'hardware:raspberrypi:has_fan',
default=False
)
%}
{%- if has_fan %}
include:
- .fan
{%- endif %}