fix all hosts by Mark Verboom

This commit is contained in:
stephan 2022-07-29 22:41:30 +02:00
parent d4bf41ce3b
commit 0c32f1c154
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ class Config:
raise cdist.Error(("Cannot read both, manifest and host file, " raise cdist.Error(("Cannot read both, manifest and host file, "
"from stdin")) "from stdin"))
if not (args.hostfile or args.host): if not (args.hostfile or args.host or args.all_tagged_hosts):
if args.tag or args.all_tagged_hosts: if args.tag or args.all_tagged_hosts:
raise cdist.Error(("Target host tag(s) missing")) raise cdist.Error(("Target host tag(s) missing"))
else: else: