mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Write the refresh file flag for the running minion
This commit is contained in:
parent
36e39aead2
commit
ad5a4630d0
@ -107,6 +107,9 @@ def setval(key, val):
|
||||
cstr = yaml.safe_dump(grains, default_flow_style=False)
|
||||
with open(gfn, 'w+') as fp_:
|
||||
fp_.write(cstr)
|
||||
fn_ = os.path.join(__opts__['cachedir'], 'module_refresh')
|
||||
with open(fn_, 'w+') as fp_:
|
||||
fp_.write('')
|
||||
|
||||
|
||||
def ls(): # pylint: disable-msg=C0103
|
||||
|
Loading…
Reference in New Issue
Block a user