Resolve a nodegroup into its configured components
(self, ng)
| 1979 | time.sleep(0.02) |
| 1980 | |
| 1981 | def _resolve_nodegroup(self, ng): |
| 1982 | """ |
| 1983 | Resolve a nodegroup into its configured components |
| 1984 | """ |
| 1985 | if ng not in self.opts["nodegroups"]: |
| 1986 | conf_file = self.opts.get("conf_file", "the master config file") |
| 1987 | raise SaltInvocationError(f"Node group {ng} unavailable in {conf_file}") |
| 1988 | return salt.utils.minions.nodegroup_comp(ng, self.opts["nodegroups"]) |
| 1989 | |
| 1990 | def _prep_pub(self, tgt, fun, arg, tgt_type, ret, jid, timeout, **kwargs): |
| 1991 | """ |