Merge pull request #42567 from skizunov/develop3

Fix disable_<tag-name> config option
This commit is contained in:
Mike Place 2017-07-27 12:04:59 -05:00 committed by GitHub
commit ab33517efb

View file

@ -1094,7 +1094,8 @@ class LazyLoader(salt.utils.lazy.LazyDict):
virtual_funcs = []
self.virtual_funcs = virtual_funcs
self.disabled = set(self.opts.get('disable_{0}s'.format(self.tag), []))
self.disabled = set(self.opts.get('disable_{0}{1}'.format(
self.tag, '' if self.tag[-1] == 's' else 's'), []))
self.refresh_file_mapping()