mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add some docs
This commit is contained in:
parent
036d767a98
commit
11d6a2b6ac
1 changed files with 4 additions and 0 deletions
|
@ -103,6 +103,10 @@ def get_minion_data(minion, opts):
|
|||
def nodegroup_comp(nodegroup, nodegroups, skip=None, first_call=True):
|
||||
'''
|
||||
Recursively expand ``nodegroup`` from ``nodegroups``; ignore nodegroups in ``skip``
|
||||
|
||||
If a top-level (non-recursive) call finds no nodegroups, return the original
|
||||
nodegroup definition (for backwards compatibility). Keep track of recursive
|
||||
calls via `first_call` argument
|
||||
'''
|
||||
expanded_nodegroup = False
|
||||
if skip is None:
|
||||
|
|
Loading…
Add table
Reference in a new issue