mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
this struct is a list of lists
This commit is contained in:
parent
55e21aea95
commit
065ef681db
@ -120,12 +120,12 @@ def prep_trans_tar(opts, chunks, file_refs):
|
||||
file_client = salt.fileclient.LocalClient(opts)
|
||||
lowfn = os.path.join(gendir, 'lowstate.json')
|
||||
sync_refs = [
|
||||
'salt://_modules',
|
||||
'salt://_states',
|
||||
'salt://_grains',
|
||||
'salt://_renderers',
|
||||
'salt://_returners',
|
||||
'salt://_outputters',
|
||||
['salt://_modules'],
|
||||
['salt://_states'],
|
||||
['salt://_grains'],
|
||||
['salt://_renderers'],
|
||||
['salt://_returners'],
|
||||
['salt://_outputters'],
|
||||
]
|
||||
with open(lowfn, 'w+') as fp_:
|
||||
fp_.write(json.dumps(chunks))
|
||||
|
Loading…
Reference in New Issue
Block a user