mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +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)
|
file_client = salt.fileclient.LocalClient(opts)
|
||||||
lowfn = os.path.join(gendir, 'lowstate.json')
|
lowfn = os.path.join(gendir, 'lowstate.json')
|
||||||
sync_refs = [
|
sync_refs = [
|
||||||
'salt://_modules',
|
['salt://_modules'],
|
||||||
'salt://_states',
|
['salt://_states'],
|
||||||
'salt://_grains',
|
['salt://_grains'],
|
||||||
'salt://_renderers',
|
['salt://_renderers'],
|
||||||
'salt://_returners',
|
['salt://_returners'],
|
||||||
'salt://_outputters',
|
['salt://_outputters'],
|
||||||
]
|
]
|
||||||
with open(lowfn, 'w+') as fp_:
|
with open(lowfn, 'w+') as fp_:
|
||||||
fp_.write(json.dumps(chunks))
|
fp_.write(json.dumps(chunks))
|
||||||
|
Loading…
Reference in New Issue
Block a user