mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #22158 from rallytime/bp-22107
Backport #22107 to 2015.2
This commit is contained in:
commit
f918cf2296
@ -190,6 +190,8 @@ def _parse_profile(profile):
|
||||
if not _profile:
|
||||
msg = 'Pillar key for profile {0} not found.'.format(profile)
|
||||
raise SaltInvocationError(msg)
|
||||
else:
|
||||
_profile = profile
|
||||
hosts = _profile.get('hosts')
|
||||
index = _profile.get('index')
|
||||
return (hosts, index)
|
||||
|
Loading…
Reference in New Issue
Block a user