added armbian and os_flavor grain

This commit is contained in:
do
2021-07-23 16:35:25 +02:00
parent f4c3467d65
commit a03211dff9
4 changed files with 26 additions and 0 deletions

4
os/armbian.sls Normal file
View File

@@ -0,0 +1,4 @@
# remove this pesky thing,
# we knwo what we are doing
/etc/cron.d/armbian-updates:
file.absent:

5
os/init.sls Normal file
View File

@@ -0,0 +1,5 @@
include:
{% if grains['os_flavor'] == 'Armbian' %}
- .armbian
{% endif %}