Closed bitkeks closed 11 months ago
Thanks for the PR! One minor note - in my Foreman test version (3.5.1) the full_name
field is populated. But it doesn't add much value as it looks to be pretty much a duplicate of name
.
Commit 92655dd updates the branch with tests and cleanups.
@lhw the test suite is quite verbose and complicated, no? I cannot figure out how the values behind RandForemanSetting
in combination with ForemanSettingToInstanceState
has any connection to the JSON test data.
Implements the API calls for ReadSetting and QuerySetting, allowing a read-only usage of the Foreman settings API.
As an example, the setting "append_domain_name_for_hosts" is read in the resourceForemanHostCreate func to handle the issue with short names and FQDNs as return value.
Refs #116