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

katello-deploy is miss configuring repositories #156

Closed
elyezer opened this issue Jun 10, 2015 · 0 comments · Fixed by #157
Closed

katello-deploy is miss configuring repositories #156

elyezer opened this issue Jun 10, 2015 · 0 comments · Fixed by #157

Comments

@elyezer
Copy link
Contributor

elyezer commented Jun 10, 2015

From latest run:

Running shell command: yum-CONFIG-manager --disable "*"
sh: yum-CONFIG-manager: command not found

Running shell command: yum-CONFIG-manager --enable epel

Running shell command: subscription-manager repos --enable rhel-7-server-rpms--enable rhel-7-server-extras-rpms --enable rhel-7-server-optional-rpms
cannot parse argument: rhel-7-server-extras-rpms

Should be called yum-config-manager instead of yum-CONFIG-manager because:

# yum-CONFIG-manager
-bash: yum-CONFIG-manager: command not found

On the generated subscription manager command is missing a space right after rhel-7-server-rpms to separate the --enable for rhel-7-server-extras-rpms.

Also katello-deploy should fail if a non-zero return code is returned.

elyezer added a commit to elyezer/katello-deploy that referenced this issue Jun 10, 2015
Make sure to call `yum-config-manager` instead of `yum-CONFIG-manager`.
Also fix subscription-manager call to enable rhel repositories.

Closes theforeman#156
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 a pull request may close this issue.

1 participant