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

Add support for disabling repository management #146

Closed
wants to merge 1 commit into from

Conversation

fpletz
Copy link
Contributor

@fpletz fpletz commented Sep 30, 2013

As the repo handling at least for the Debian-based case is not ideal and causes problems in our setup, there should be a parameter to disable the management of repositories. This pull request adds this feature without breaking the default behaviour.

@@ -23,21 +22,25 @@

anchor { 'nginx::apt_repo' : }

include '::apt'
if $nginx::manage_repos {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reasoning for calling the out-of-scope variable?

I almost prefer an tell-don't-ask approach versus ask-don't-tell. Thoughts?

@jfryman
Copy link
Contributor

jfryman commented Oct 7, 2013

I incorporated this patch with a few other pulls. I think this should cover it. Please ping me if it doesn't.

@jfryman jfryman closed this Oct 7, 2013
@fpletz
Copy link
Contributor Author

fpletz commented Oct 9, 2013

Sorry for not getting back to you sooner. Thanks for the fix! Works for me. ;-)

@fpletz
Copy link
Contributor Author

fpletz commented Oct 9, 2013

Unfortunately, I ran into problems with the merged solution. See #155 for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants