mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Dump multi-line yaml into the SHIM
Minion config will be larger now, width isn't enough to make sure it's only a single line
This commit is contained in:
parent
b751a7281c
commit
fe87f0fe39
1 changed files with 5 additions and 2 deletions
|
@ -570,7 +570,7 @@ class Single(object):
|
|||
'id': self.id,
|
||||
'sock_dir': '/',
|
||||
})
|
||||
self.minion_config = yaml.dump(minion_opts, width=1000).strip()
|
||||
self.minion_config = yaml.dump(minion_opts).strip()
|
||||
self.target = kwargs
|
||||
self.target.update(args)
|
||||
self.serial = salt.payload.Serial(opts)
|
||||
|
@ -771,7 +771,10 @@ class Single(object):
|
|||
debug = '1'
|
||||
arg_str = '''
|
||||
OPTIONS = OBJ()
|
||||
OPTIONS.config = '{0}'
|
||||
OPTIONS.config = \
|
||||
"""
|
||||
{0}
|
||||
"""
|
||||
OPTIONS.delimiter = '{1}'
|
||||
OPTIONS.saltdir = '{2}'
|
||||
OPTIONS.checksum = '{3}'
|
||||
|
|
Loading…
Add table
Reference in a new issue