From 0c32f1c1543ad8929b0c4f96d180dd0361f178a8 Mon Sep 17 00:00:00 2001 From: Stephan Leemburg Date: Fri, 29 Jul 2022 22:41:30 +0200 Subject: [PATCH] fix all hosts by Mark Verboom --- cdist/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist/config.py b/cdist/config.py index 638fdf0e..02c2ca46 100644 --- a/cdist/config.py +++ b/cdist/config.py @@ -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: