diff --git a/salt/utils/thin.py b/salt/utils/thin.py index 5588a19ba3..04a940a8aa 100644 --- a/salt/utils/thin.py +++ b/salt/utils/thin.py @@ -10,6 +10,7 @@ import tarfile # Import third party libs import jinja2 import yaml +import msgpack try: import markupsafe HAS_MARKUPSAFE = True @@ -60,6 +61,7 @@ def gen_thin(cachedir, extra_mods='', overwrite=False): os.path.dirname(salt.__file__), os.path.dirname(jinja2.__file__), os.path.dirname(yaml.__file__), + os.path.dirname(msgpack.__file__), ] for mod in [m for m in extra_mods.split(',') if m]: if mod not in locals() and mod not in globals():