Reproduced, Puppet 1.0.1 is likely missing a commit.
I tested with Discovery 18.0 and Puppet develop branch and it works, but Puppet 1.0.1 branch does not and I experience the very same issue. @ezr-ondrej there is likely a commit that needs to be backported into Foreman 3.0 version of the puppet plugin.
I tested 18.0 against develop when I was testing it, both via Quick provision and Customize host. I should have done this against 1.0.1, my bad.
Yup, this should be already resolved in 1.0.3, tho we are still on 1.0.1 in Foreman 3.0, the Puppet plugin 1.0.3 got merged into packaging yesterday, I’ll backport those into 3.0, but it will go with Foreman 3.0.1 anyway.
On Centos, the latest packages available are foreman 3.0.0 and foreman_puppet 1.0.1.
Foreman_puppet 1.0.3 is available in the nightly repository.
Which is the best approach to patch foreman 3.0.0 with this fix? Wait for foreman 3.0.1 (any idea on when it will be released)? Use the foreman_puppet package from the nightly repository?
Sorry, mea culpa. I had to reboot the foreman master to have the foreman puppet plugin refreshed from 1.0.1 to 1.0.3. And then the customize host problem disappeared.
For the server I provisioned yesterday, I used Discovered Hosts → Provision → Customize Host → selected the right hostgroup → and then further customization in the host page.
Actually, I found a bug on the Host Parameters page. When you click on Override, a new empty line is added. If you add multiple overrides, the values (key/value) in the previous ones are cleared. Probably something in the javascript.
Workaround is to add x overrides, and then fill manually all the fields.
Do you see the same if you edit an existing (provisioned) host? If so, file against Foreman core - Hosts. If you only see this for discovery then file it against Discovery Redmine project.