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

ensure priorities for custom repos as well #246

Merged
merged 1 commit into from Oct 3, 2014

Conversation

alfredodeza
Copy link
Contributor

Unfortunately, custom repos where getting overridden even if they had piority=1 because ceph-deploy was not passing that option and was not installing the plugin.

This enforces that behavior but only when the priority flag is set.

Reference ticket: http://tracker.ceph.com/issues/9645

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
@ceph-jenkins
Copy link
Collaborator

Tests passed for this pull request.
Refer to this link for build results: http://jenkins.ceph.com/job/ceph-deploy-pull-requests/1407/

name = kw.get('name', '%s repo' % reponame)
enabled = kw.get('enabled', 1)
gpgcheck = kw.get('gpgcheck', 1)
name = kw.pop('name', '%s repo' % reponame)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

these where changed from get to pop so that we could re-use **kw and not have duplicate keywords.

@ChristinaMeno
Copy link
Contributor

looks good, tests on RHEL6.5

ChristinaMeno added a commit that referenced this pull request Oct 3, 2014
ensure priorities for custom repos as well
@ChristinaMeno ChristinaMeno merged commit a95121a into ceph:master Oct 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants