Get the thin Salt with configured extra modules on SSH

This commit is contained in:
Bo Maryniuk 2016-09-27 11:05:28 +02:00
parent 2be9330be6
commit 3d878f9da5

View File

@ -252,7 +252,7 @@ class SSH(object):
self.serial = salt.payload.Serial(opts)
self.returners = salt.loader.returners(self.opts, {})
self.fsclient = salt.fileclient.FSClient(self.opts)
self.thin = salt.utils.thin.gen_thin(self.opts['cachedir'])
self.thin = salt.utils.thin.gen_thin(self.opts['cachedir'], extra_mods=self.opts.get('thin_extra_mods'))
self.mods = mod_data(self.fsclient)
def get_pubkey(self):