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