mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix dictionary keys from string to int
identity type values are int.
This commit is contained in:
parent
dc793f9a05
commit
009ef6686b
1 changed files with 4 additions and 5 deletions
|
@ -495,8 +495,7 @@ def container_setting(name, container, settings=None):
|
|||
processModel.maxProcesses: 1
|
||||
processModel.userName: TestUser
|
||||
processModel.password: TestPassword
|
||||
processModel.identityType: SpecificUser
|
||||
|
||||
processModel.identityType: SpecificUser
|
||||
|
||||
Example of usage for the ``Sites`` container:
|
||||
|
||||
|
@ -511,9 +510,9 @@ def container_setting(name, container, settings=None):
|
|||
logFile.period: Daily
|
||||
limits.maxUrlSegments: 32
|
||||
'''
|
||||
|
||||
identityType_map2string = {'0': 'LocalSystem', '1': 'LocalService', '2': 'NetworkService', '3': 'SpecificUser', '4': 'ApplicationPoolIdentity'}
|
||||
|
||||
|
||||
identityType_map2string = {0: 'LocalSystem', 1: 'LocalService', 2: 'NetworkService', 3: 'SpecificUser', 4: 'ApplicationPoolIdentity'}
|
||||
|
||||
ret = {'name': name,
|
||||
'changes': {},
|
||||
'comment': str(),
|
||||
|
|
Loading…
Add table
Reference in a new issue