fix all hosts by Mark Verboom

This commit is contained in:
stephan 2022-07-29 22:41:30 +02:00
parent d4bf41ce3b
commit 0c32f1c154

View file

@ -175,7 +175,7 @@ class Config:
raise cdist.Error(("Cannot read both, manifest and host file, "
"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:
raise cdist.Error(("Target host tag(s) missing"))
else: