Randy Terbush
2015-11-25 15:49:10 UTC
Greetings,
I've been struggling to enable functionality for the module.mssql on a
windows minion definition and would appreciate some guidance as to the
proper way to meet dependency requirements that are external to salt-minion
on a Windows client.
Here is what I know:
After provisioning a Windows minion, installing Python and running a
pip.installed: state for pymssql, attempts to run the mssql module continue
to fail with an error message that indicates that the minion was not able
to import the required module.
Running python -c 'import pymssql' from the command line on the Windows
minion works without a problem.
From what I have gathered, it seems that the salt-minion does not see the
site-package resources of the Python install on the minion. I've attempted
to set PYTHONPATH to include the lib/site-packages directory as well as
including lib/site-packages in the system PATH.
I'd appreciate any thoughts toward how to solve this.
I've been struggling to enable functionality for the module.mssql on a
windows minion definition and would appreciate some guidance as to the
proper way to meet dependency requirements that are external to salt-minion
on a Windows client.
Here is what I know:
After provisioning a Windows minion, installing Python and running a
pip.installed: state for pymssql, attempts to run the mssql module continue
to fail with an error message that indicates that the minion was not able
to import the required module.
Running python -c 'import pymssql' from the command line on the Windows
minion works without a problem.
From what I have gathered, it seems that the salt-minion does not see the
site-package resources of the Python install on the minion. I've attempted
to set PYTHONPATH to include the lib/site-packages directory as well as
including lib/site-packages in the system PATH.
I'd appreciate any thoughts toward how to solve this.
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.