Check for stockpile_yum_repos in prescribe.py
This is because we have a new stockpile_yum_packages key in stockpile output. Change-Id: I6777ce8bfff2e13554bcccfbe0e577a65e22ab74
This commit is contained in:
parent
735822463d
commit
a5e626b716
|
@ -89,7 +89,7 @@ class Metadata(object):
|
|||
sample_vuln_dict = {}
|
||||
node = sys_data[item]['inventory_hostname']
|
||||
for key, output in six.iteritems(sys_data[item]):
|
||||
if 'stockpile_yum' in key and output not in bad_output_list:
|
||||
if 'stockpile_yum_repos' in key and output not in bad_output_list:
|
||||
software_dict['repos_enabled'] = {}
|
||||
software_dict['repos_enabled']['repos'] = []
|
||||
for repo in output:
|
||||
|
|
Loading…
Reference in New Issue