puppetlabs / bolt-vanagon

Apache License 2.0
2 stars 31 forks source link

(BOLT-1100) Configure SSL with a bolt.bat wrapper #72

Closed nicklewis closed 5 years ago

nicklewis commented 5 years ago

Previously, we were using the default bolt.bat wrapper script generated by rubygems. That caused bolt puppetfile install to fail when run from cmd on windows, because it didn't have the necessary environment variables set to use our CA bundle and therefore it didn't trust the forge.

We now install our own bolt.bat wrapper to set those environment variables, following the puppet.bat example from the puppet-agent package.

MikaelSmith commented 5 years ago

ping @nicklewis, I had a few comments you were going to get back to

nicklewis commented 5 years ago

This doesn't solve the right problem (there are issues around loading the PS module, not just using cmd), so closing it to consider the solution more deeply.