mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #831 from dcolish/develop
Use str.format for template string
This commit is contained in:
commit
342b60e18a
@ -155,8 +155,8 @@ def minion_config(path):
|
||||
|
||||
opts['master_ip'] = dns_check(opts['master'])
|
||||
|
||||
opts['master_uri'] = 'tcp://%s:%s' % (opts['master_ip'],
|
||||
opts['master_port'])
|
||||
opts['master_uri'] = 'tcp://{ip}:{port}'.format(ip=opts['master_ip'],
|
||||
port=opts['master_port'])
|
||||
|
||||
# Enabling open mode requires that the value be set to True, and
|
||||
# nothing else!
|
||||
|
Loading…
Reference in New Issue
Block a user