Actions
Bug #15084
openforeman_config_entry is not idempotent with arrays
Status:
New
Priority:
Normal
Assignee:
-
Category:
Foreman modules
Target version:
-
Description
When modifying a config value that requires an array, the foreman_config_entry type is not idempotent.
Example:
foreman_config_entry {'trusted_puppetmaster_hosts': value => "[\"puppet1.example.com\", \"puppet2.example.com\"]", }
returns on the second run:
value changed '"[\"puppet1.example.com\", \"puppet2.example.com\"]"' to '["puppet1.example.com", "puppet2.example.com"]'
Updated by Dominic Cleal over 8 years ago
- Related to Bug #14778: Cannot use foreman-rake config to set complex (array) settings added
Updated by Dominic Cleal over 8 years ago
- Category set to Settings
- Status changed from New to Feedback
I think this might be fixed by #14778, which changes the output of arrays etc. Please give the patch a try or 1.11.2, which is due today if all goes well.
Updated by Jonathan Camara over 8 years ago
Gave 1.11.2 a try, and the second run now returns
value changed '["puppet1.example.com", "puppet2.example.com"]' to '["puppet1.example.com", "puppet2.example.com"]'
Updated by Dominic Cleal over 8 years ago
- Project changed from Foreman to Installer
- Category changed from Settings to Foreman modules
- Status changed from Feedback to New
Actions