fix all hosts by Mark Verboom #341
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue