mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add repr flag for str
This commit is contained in:
parent
aea4219502
commit
5657fd1956
1 changed files with 1 additions and 1 deletions
|
@ -535,7 +535,7 @@ def set_lcm_config(config_mode=None,
|
|||
cmd = r'Set-DscLocalConfigurationManager -Path "{0}\SaltConfig"' \
|
||||
r''.format(temp_dir)
|
||||
ret = __salt__['cmd.run_all'](cmd, shell='powershell', python_shell=True)
|
||||
__salt__['file.remove']('{0}\SaltConfig'.format(temp_dir))
|
||||
__salt__['file.remove'](r'{0}\SaltConfig'.format(temp_dir))
|
||||
if not ret['retcode']:
|
||||
log.info('LCM config applied successfully')
|
||||
return True
|
||||
|
|
Loading…
Add table
Reference in a new issue