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: