mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update pyobjects test to be a list
Refs the discussion in https://github.com/saltstack/salt/issues/21796#issuecomment-84454088
This commit is contained in:
parent
1033bbdde8
commit
f3e84c1ab7
1 changed files with 2 additions and 2 deletions
|
@ -126,8 +126,8 @@ Pkg.removed("samba-imported", names=[Other.server, Other.client])
|
|||
|
||||
random_password_template = '''#!pyobjects
|
||||
import random, string
|
||||
password = ''.join(random.SystemRandom().choice(
|
||||
string.ascii_letters + string.digits) for _ in range(20))
|
||||
password = ''.join([random.SystemRandom().choice(
|
||||
string.ascii_letters + string.digits) for _ in range(20)])
|
||||
'''
|
||||
|
||||
random_password_import_template = '''#!pyobjects
|
||||
|
|
Loading…
Add table
Reference in a new issue