Allow resources to skip repository install#256
Allow resources to skip repository install#256patcon wants to merge 1 commit intodjoos-cookbooks:masterfrom
Conversation
|
Definitely @patcon, ping it over! FYI: I'm hoping to catch up on PRs and issues over the next couple of weeks... Thanks in advance! |
|
Would you mind if I made the "skip_install" attr top-level (ie. not for a specific type of agent install, like app or server). The rationale being that turning off auto-install would be applied when repos can't be managed, so it should affect all. On a related note, perahps we could separate EDIT: The good news is that it seems |
|
OK, this was how I was thinking. I can further run and fix up any integrations tests (?). We could also force the other LWRPs to use the same pattern. While this is mostly backward compat, if someone has explicitly used the resource and explicitly set the |
|
Hi @patcon, just to make sure I've got it at the right end of the stick: would the "manual" install be the manual installation on other Linux flavours? Thanks in advance for the additional background! Kind regards, |
|
Yep, that's right :) |
|
I don't see any other means of up-voting, but +1. Can't wait to see this in My use case is similar: some networks aggressively limit outbound connections, particularly over HTTP (I see New Relic's download servers do serve HTTPS though the recipe specifies HTTP). |
Some restricted environments cannot add yum repositories, and must install newrelic manually. Would be great if there was a resource attribute flag that would allow the "install_repository" method to be skipped.
Would you be willing to accept a PR for this?