@@ -83,9 +83,7 @@ def audit(configs=None,
83
83
`hubblestack:nova:show_compliance` in minion config/pillar.
84
84
85
85
show_profile
86
- Whether to add the profile path to the verbose output for audits.
87
- Defaults to True. Configurable via `hubblestack:nova:show_profile`
88
- in minion config/pillar.
86
+ DEPRECATED
89
87
90
88
called_from_top
91
89
Ignore this argument. It is used for distinguishing between user-calls
@@ -107,9 +105,7 @@ def audit(configs=None,
107
105
if configs is None :
108
106
return top (verbose = verbose ,
109
107
show_success = show_success ,
110
- show_compliance = show_compliance ,
111
- show_profile = show_profile ,
112
- debug = debug )
108
+ show_compliance = show_compliance )
113
109
114
110
if __salt__ ['config.get' ]('hubblestack:nova:autoload' , True ):
115
111
load ()
@@ -122,8 +118,10 @@ def audit(configs=None,
122
118
show_success = __salt__ ['config.get' ]('hubblestack:nova:show_success' , True )
123
119
if show_compliance is None :
124
120
show_compliance = __salt__ ['config.get' ]('hubblestack:nova:show_compliance' , True )
125
- if show_profile is None :
126
- show_profile = __salt__ ['config.get' ]('hubblestack:nova:show_profile' , True )
121
+ if show_profile is not None :
122
+ log .warning (
123
+ 'Keyword argument \' show_profile\' is no longer supported'
124
+ )
127
125
if debug is None :
128
126
debug = __salt__ ['config.get' ]('hubblestack:nova:debug' , False )
129
127
@@ -389,9 +387,7 @@ def top(topfile='top.nova',
389
387
`hubblestack:nova:show_compliance` in minion config/pillar.
390
388
391
389
show_profile
392
- Whether to add the profile path to the verbose output for audits.
393
- Defaults to True. Configurable via `hubblestack:nova:show_profile`
394
- in minion config/pillar.
390
+ DEPRECATED
395
391
396
392
debug
397
393
Whether to log additional information to help debug nova. Defaults to
@@ -417,8 +413,10 @@ def top(topfile='top.nova',
417
413
show_success = __salt__ ['config.get' ]('hubblestack:nova:show_success' , True )
418
414
if show_compliance is None :
419
415
show_compliance = __salt__ ['config.get' ]('hubblestack:nova:show_compliance' , True )
420
- if show_profile is None :
421
- show_profile = __salt__ ['config.get' ]('hubblestack:nova:show_profile' , True )
416
+ if show_profile is not None :
417
+ log .warning (
418
+ 'Keyword argument \' show_profile\' is no longer supported'
419
+ )
422
420
if debug is None :
423
421
debug = __salt__ ['config.get' ]('hubblestack:nova:debug' , False )
424
422
@@ -456,9 +454,7 @@ def top(topfile='top.nova',
456
454
verbose = verbose ,
457
455
show_success = True ,
458
456
show_compliance = False ,
459
- show_profile = show_profile ,
460
- called_from_top = True ,
461
- debug = debug )
457
+ called_from_top = True )
462
458
463
459
# Merge in the results
464
460
for key , val in ret .iteritems ():
0 commit comments