app/lib/katello/foreman.rb in katello-3.17.0.rc1 vs app/lib/katello/foreman.rb in katello-3.17.0.rc2

- old
+ new

@@ -19,10 +19,10 @@ locations = capsule_contents.map(&:locations).compact.flatten.uniq foreman_environment.locations = locations foreman_environment.save! end - foreman_smart_proxy = SmartProxy.pulp_master + foreman_smart_proxy = SmartProxy.pulp_primary if foreman_smart_proxy.has_feature?('Puppet') PuppetClassImporter.new(:url => foreman_smart_proxy.url, :env => foreman_environment.name).update_environment end end end