hardware specific states
This commit is contained in:
12
hardware/raspberrypi/init.sls
Normal file
12
hardware/raspberrypi/init.sls
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
{%
|
||||
set has_fan = salt['pillar.get'](
|
||||
'hardware:raspberrypi:has_fan',
|
||||
default=False
|
||||
)
|
||||
%}
|
||||
|
||||
{%- if has_fan %}
|
||||
include:
|
||||
- .fan
|
||||
{%- endif %}
|
||||
Reference in New Issue
Block a user