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

Adds enabled kwarg #55203

Merged
merged 7 commits into from
Jan 13, 2020
Merged

Adds enabled kwarg #55203

merged 7 commits into from
Jan 13, 2020

Conversation

brejoc
Copy link
Contributor

@brejoc brejoc commented Nov 5, 2019

What does this PR do?

aptpkg is using the keyword argument 'disabled', while zypper and
yum are using enabled. This change allows to also pass 'disabled'
to mod_repo from the aptpkg module.

What issues does this PR fix or reference?

Previous Behavior

pkg.mod_repo would only be used with disabled=True.

New Behavior

pkg.mod_repo can now also be used with enabled=False.

Tests written?

Yes

Commits signed with GPG?

Yes

aptpkg is using the keyword argument 'disabled', while zypper and
yum are using enabled. This change allows to also pass 'disabled'
to mod_repo from the aptpkg module.
@brejoc brejoc marked this pull request as ready for review November 12, 2019 09:39
@brejoc brejoc requested a review from a team as a code owner November 12, 2019 09:39
@ghost ghost requested a review from cmcmarrow November 12, 2019 09:39
@brejoc
Copy link
Contributor Author

brejoc commented Jan 3, 2020

@saltstack/team-core @cmcmarrow Could someone please take a look here? Thanks!

@s0undt3ch
Copy link
Collaborator

There's 2 lint issues to address.
Thanks @brejoc!

@brejoc
Copy link
Contributor Author

brejoc commented Jan 8, 2020

@s0undt3ch Sorry, totally missed that. I've pushed a change and solved a conflict. Hopefully it's looking better now.

@s0undt3ch
Copy link
Collaborator

No worries, though, the lint issues still exist.

@brejoc
Copy link
Contributor Author

brejoc commented Jan 13, 2020

@s0undt3ch Ah, sorry. Seems like I overlooked that completely! 🤦‍♂️

@dwoz dwoz merged commit 7f9fd64 into saltstack:master Jan 13, 2020
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.

3 participants