-
Notifications
You must be signed in to change notification settings - Fork 262
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
[2.4.0] apt-get install -y -q apt-transport-https
always executed
#491
Comments
Hi @olblak, thank you for taking the time to bring this up. Indeed this change was brought in here: #463. That PR was motivated by this issue: #423. We were actually aware of this new behavior, and though unhappy with the fact the module is now chatty, we merged it as a temporary workaround until we had a better understanding of how to fix the module in a more idiomatic way while avoiding triggering that nasty dependency cycle. Unfortunately the dependency cycle was not being caused by the module by itself, but rather by a behavior triggered when used in conjunction with other modules (definitely some versions of the logstash module, possibly others). We are looking into a better workaround, for sure. If you have any suggestions please let us know. |
Hello, same issue here, we are having a lot of noise on every puppet run because of that. I reviewed #463 PR and I don't see a clear answer of why ensure_packages was changed by an exec for apt-transport-https package installation. Can we rollback this part to ensure_packages again? Otherwise if you prefer to keep the exec, we should put the unless directive in the resource to validate if it is installed or not. If you want I can do the change, just let me know... Thanks in advance 😄 |
IMHO #463 should have never been merged... The 'workaround' is terrible: not only is verbose but it's running
Has this issue been reported in any other module? Maybe the issue is not in the datadog module but in the logstash one. |
The package The datadog puppet module requires the module apt, so enforcing the installation using the |
I merged this and reverted the module to the previous - correct - behavior: #506 We will address the problem for customers who might encounter cycle issues, as was the case with the old logstash module in some other way. I apologize for the inconvenience this has caused. The next version released should address this. |
It seems that this regression was introduced by this commit
I am wondering why it changed from "ensure_packages" to a simple exec command?
The text was updated successfully, but these errors were encountered: