mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 08:35:21 +00:00
Merge pull request #43774 from The-Loeki/patch-1
typo fix aka what is a 'masterarpi'
This commit is contained in:
commit
1254da1df5
@ -270,12 +270,12 @@ def access_keys(opts):
|
||||
|
||||
# Check other users matching ACL patterns
|
||||
if opts['client_acl_verify'] and HAS_PWD:
|
||||
log.profile('Beginning pwd.getpwall() call in masterarpi access_keys function')
|
||||
log.profile('Beginning pwd.getpwall() call in masterapi access_keys function')
|
||||
for user in pwd.getpwall():
|
||||
user = user.pw_name
|
||||
if user not in keys and salt.utils.check_whitelist_blacklist(user, whitelist=acl_users):
|
||||
keys[user] = mk_key(opts, user)
|
||||
log.profile('End pwd.getpwall() call in masterarpi access_keys function')
|
||||
log.profile('End pwd.getpwall() call in masterapi access_keys function')
|
||||
|
||||
return keys
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user