Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx_version fact not confined #814

Closed
ekingme opened this issue Jun 8, 2016 · 5 comments
Closed

nginx_version fact not confined #814

ekingme opened this issue Jun 8, 2016 · 5 comments
Labels
needs-feedback Further information is requested

Comments

@ekingme
Copy link
Contributor

ekingme commented Jun 8, 2016

The nginx_version fact is not confined. If you run puppet interactively on windows with this module installed a dialog will pop up and require interaction. If the puppet agent runs silently it will hang indefinitely.

@igalic
Copy link
Contributor

igalic commented Jun 22, 2016

what exactly is the prompt that you're getting?

@ekingme
Copy link
Contributor Author

ekingme commented Jun 22, 2016

It is a Windows installer dialog that is asking where I'd like to unpack the Nginx files. It looks like it is trying to install Nginx. Admittedly, we have Nginx installed in a non-standard place, so I'm not exactly sure what it's attempting to do.

We don't receive the dialog on a machine without Nginx.

nginx1

@igalic
Copy link
Contributor

igalic commented Jun 22, 2016

does that module have an (auto)require for package installs somewhere?
or does which on windows do something similar like some linux shells' command-missing? but slightly more zealous ;)

@3flex
Copy link
Contributor

3flex commented Jun 23, 2016

Somewhat related - does this module even work on Windows? nginx itself is beta on Windows, and this module has never been tested on that OS. I can't recall any PRs that added any kind of support.

I'm inclined to close this and the related PR in favour of a PR that provides proper support.

@3flex 3flex added the needs-feedback Further information is requested label Jun 23, 2016
@ekingme
Copy link
Contributor Author

ekingme commented Jun 23, 2016

The module does not say it supports Windows. Nor do I need or want it to at the moment. But because we have plugin sync enabled, the fact is copied everywhere and the which seems to cause issues on Windows where I have Nginx installed. The best way I could find to prevent that was to confine the fact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-feedback Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants