From 3d878f9da5d0cb3c4108002993fe9920f776103b Mon Sep 17 00:00:00 2001 From: Bo Maryniuk Date: Tue, 27 Sep 2016 11:05:28 +0200 Subject: [PATCH] Get the thin Salt with configured extra modules on SSH --- salt/client/ssh/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py index 203bf07177..da9fa81f4c 100644 --- a/salt/client/ssh/__init__.py +++ b/salt/client/ssh/__init__.py @@ -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):