Allow setting the enabled/disabled flag for more than just cloud inventory sources.

Leverage the same _ENABLED_VAR (and other) variables that exist for cloud sources, and set some defaults for custom scripts.
This commit is contained in:
Bill Nottingham
2017-05-25 16:51:09 -04:00
parent 1b2ac592a8
commit e93a61ac53
2 changed files with 37 additions and 38 deletions

View File

@@ -805,6 +805,16 @@ CLOUDFORMS_HOST_FILTER = r'^.+$'
CLOUDFORMS_EXCLUDE_EMPTY_GROUPS = True
CLOUDFORMS_INSTANCE_ID_VAR = 'id'
# ---------------------
# ----- Custom -----
# ---------------------
#CUSTOM_ENABLED_VAR =
#CUSTOM_ENABLED_VALUE =
CUSTOM_GROUP_FILTER = r'^.+$'
CUSTOM_HOST_FILTER = r'^.+$'
CUSTOM_EXCLUDE_EMPTY_GROUPS = True
#CUSTOM_INSTANCE_ID_VAR =
# ---------------------
# -- Activity Stream --
# ---------------------