Hide Forgot
Description of problem: When trying to create a build for a new host with a Content View that does not have a Puppet Environment, the host cannot be saved with this message: "can't be blank" Version-Release number of selected component (if applicable): Satellite 6.2.3 Steps to Reproduce: 1. Create and Publish a Content View that has no Puppet Module 2. Create a new host and associate the Content View 3. Try to let the Puppet Environment blank, you will get an error Actual results: Can't create a host build Expected results: As the Puppet Environment are no more created automatically if the Content View does not contain a Puppet Module, we would expect that this field can be blank at the host creation. Additional info: [app] [I] Failed to save: Environment can't be blank
The validator for this was changed in Satellite 6.2 to: validates :environment_id, :presence => true, :unless => Proc.new { |host| host.puppet_proxy_id.blank? } Which means a puppet environment should NOT be required unless you've selected a puppet master (proxy). Did you select one?
Actually waiting from customer feedback to confirm that the bug is no more required.
Regarding the actual linked case, this was simply corrected by making sure that no Puppet Ca and not Puppet Master were selected, I am closing this bug.