refresh_pillar() should be called always

This commit is contained in:
Alexey Genus 2016-11-07 19:14:08 +03:00
parent a9fe7ecf1a
commit 3f4c33906e

View File

@ -636,8 +636,7 @@ def sync_all(saltenv=None, refresh=True):
ret['pillar'] = sync_pillar(saltenv, False)
if refresh:
refresh_modules()
if __opts__['file_client'] == 'local':
refresh_pillar()
refresh_pillar()
return ret