mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Lint.
This commit is contained in:
parent
04095e3b74
commit
8a3cea4d95
@ -54,7 +54,6 @@ def _find_credentials():
|
||||
# and password
|
||||
return (u, p)
|
||||
|
||||
|
||||
logger.debug('grains fx2._find_credentials found no valid credentials, using Dell default')
|
||||
return ('root', 'calvin')
|
||||
|
||||
|
@ -315,9 +315,9 @@ def chconfig(cmd, *args, **kwargs):
|
||||
|
||||
# Catch password reset
|
||||
if 'dracr.'+cmd not in __salt__:
|
||||
ret = {'retcode': -1, 'message': 'dracr.' + cmd + ' is not available'}
|
||||
ret = {'retcode': -1, 'message': 'dracr.' + cmd + ' is not available'}
|
||||
else:
|
||||
ret = __salt__['dracr.'+cmd](*args, **kwargs)
|
||||
ret = __salt__['dracr.'+cmd](*args, **kwargs)
|
||||
|
||||
if cmd == 'change_password':
|
||||
if 'username' in kwargs:
|
||||
|
Loading…
Reference in New Issue
Block a user