Bug #4234
closed
Cannot edit host's puppet parameters
Added by Alexandre Barth over 10 years ago.
Updated about 6 years ago.
Description
I try to override puppet class parameters, when i submit modifications they are not recorded. It works if i use Matcher Value in Puppet Class view. I don't see anything in foreman logs even in debug mode.
New information : if i create a new host named foo, in puppet classes smart class parameter, it adds the matcher fqdn=foo instead of fqdn=foo.domain. If i add the domain to the matcher when i edit the host values are then overrided.
So i solved the problem providing fqdn as name instead of shortname when creating a new host. Isn't this useless as we must provide domain in network tab ?
And when i edit the host after creation, display name is the shortname ... maybe caus i use the use_shortname_for_vms setting
- Category set to Host creation
- Translation missing: en.field_release deleted (
2)
Probably unrelated to the VM setting, pretty sure that only affects the compute resource.
i'm using a vmware compute resource.
- Related to Bug #4227: Override Parameter not saved in Host added
Confirmed that restoring the line fixes #4227. I suspect though adding it here might lead to multiple errors being added (line 777), and we need to check the other code above it is OK with being run multiple times.
- Status changed from New to Ready For Testing
- Assignee set to Stephen Benjamin
- Target version set to 1.9.2
- Translation missing: en.field_release set to 5
- Target version changed from 1.9.2 to 1.9.1
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF