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

Update pulpcore::admin to use the command parameter if it is passed #91

Merged
merged 2 commits into from
Apr 13, 2020
Merged

Update pulpcore::admin to use the command parameter if it is passed #91

merged 2 commits into from
Apr 13, 2020

Conversation

gcoxmoz
Copy link
Contributor

@gcoxmoz gcoxmoz commented Apr 13, 2020

In pulpcore::admin, there is a $command parameter that defaults to $title. However, $command is never used, and ${title} is used inside an exec where the $command ought to be.

@ekohl ekohl added the Bug Something isn't working label Apr 13, 2020
@ekohl
Copy link
Member

ekohl commented Apr 13, 2020

It looks like the tests need to be updated.

@@ -40,7 +40,7 @@

it do
is_expected.to compile.with_all_deps
is_expected.to contain_exec('python3-django-admin help')
is_expected.to contain_exec('python3-django-admin migrate --noinput')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks good. In fact, when I scroll up a few lines I can see that this is what it should have been all along.

@wbclark
Copy link
Collaborator

wbclark commented Apr 13, 2020

Thanks for the contribution @gcoxmoz !

@wbclark wbclark merged commit 419295e into theforeman:master Apr 13, 2020
@gcoxmoz gcoxmoz deleted the admin-command branch April 13, 2020 21:43
cegeka-jenkins pushed a commit to cegeka/puppet-pulpcore that referenced this pull request Aug 9, 2022
…heforeman#91)

Update pulpcore::admin to use the command parameter if it is passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants