Splitted hostgroup generation logic into its seperate module. Changed hostgroup "dev_role" to "role" for VM role prepration. Started work on basic VM class.

This commit is contained in:
TheNetworkGuy
2024-10-25 16:02:08 +02:00
parent 2e867d1129
commit 053028b283
5 changed files with 179 additions and 56 deletions

View File

@@ -3,7 +3,7 @@
# coming from config context instead of a custom field.
templates_config_context = False
# Set to true to give config context templates a
# Set to true to give config context templates a
# higher priority then custom field templates
templates_config_context_overrule = False
@@ -41,7 +41,7 @@ zabbix_device_disable = ["Offline", "Planned", "Staged", "Failed"]
# 'Global/Europe/Netherlands/Amsterdam' instead of just 'Amsterdam'.
#
# traverse_site_groups controls the same behaviour for any assigned site_groups.
hostgroup_format = "site/manufacturer/dev_role"
hostgroup_format = "site/manufacturer/role"
traverse_regions = False
traverse_site_groups = False