ignore missing files in include
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
|
{% include 'base/hardware/' + salt['grains.get']('hardware') | lower + '.sls' ignore missing %}
|
||||||
include:
|
#include:
|
||||||
- base.hardware.{{ grains.get('hardware') | lower }}
|
# - base.hardware.{{ grains.get('hardware') | lower }}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
include:
|
include:
|
||||||
#- base.hostconfig.{{ grains.get('nodename') | regex_replace('[0-9]', '', ignorecase=True) }}
|
- base.hostconfig.{{ grains.get('nodename') | regex_replace('[0-9]', '', ignorecase=True) }}
|
||||||
- base.hostconfig.{{ grains.get('nodename') }}
|
|
||||||
|
{% include salt['grains.get']('host') + '.sls' ignore missing %}
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
include:
|
include:
|
||||||
- base.services
|
- base.services
|
||||||
#- base.hardware
|
- base.hardware
|
||||||
- base.hostconfig
|
- base.hostconfig
|
||||||
- base.sysctl
|
- base.sysctl
|
||||||
- saltmine
|
- saltmine
|
||||||
|
|||||||
Reference in New Issue
Block a user