Actions
Bug #4974
closedWhen not selecting puppet master, setting rhsm repo_url is not correct
Description
1. provisiong a host usint Katello Kickstart without selecting puppet master
2. see the preview of provisioning template for the host
It contains
subscription-manager config --rhsm.baseurl=https:///pulp/repos
These lines should not be there. The template for subscription_manager_registration should have something like this to handle that properly:
<% @host.puppetmaster && !@host.puppetmaster.empty? %>
subscription-manager config --rhsm.baseurl=https://<%= @host.puppetmaster %>/pulp/repos
<% end %>
Actions