37684d Add support to ignore non-existing states in {salt,pillar}/top.sls

4 files Authored by Theo Chatzimichos 6 years ago, Committed by tampakrap 6 years ago,
    Add support to ignore non-existing states in {salt,pillar}/top.sls
    
    In the past we needed to create a state that it was included in top.sls,
    even if it was empty. By adding the include_optional macro, we can now
    check if the file exists on the disk and then include it. This way we
    can get rid of all the empty files.
    
        
file added
+7
file modified
+1 -0
file added
+7
file modified
+1 -0