Added support for hardcoded strings in hostgroups

This commit is contained in:
Raymond Kuiper
2025-06-25 16:50:17 +02:00
parent 57c7f83e6a
commit 98c13919c5
2 changed files with 19 additions and 13 deletions

View File

@@ -160,6 +160,7 @@ def verify_hg_format(
if (
hg_object not in allowed_objects[hg_type]
and hg_object not in allowed_objects["cfs"][hg_type]
and not hg_object.startswith(('"',"'"))
):
e = (
f"Hostgroup item {hg_object} is not valid. Make sure you"