All parameters for class overridden by default
Description of problem:
I imported the puppetlabs-ntp and puppetlabs-stdlib classes. On first run, all was fine. Then, I wanted to change the 'server' parameter, so I opened the smart parameters tab of the ntp class, and found all classes were marked 'overriden'.
I only set the 'server' parameter, but Puppet barfed that all parameters were now filled with empty strings, and thus didn't match the expected types:
From the log on the satellite (which was also the puppet client in my case):
puppetlabs/puppetserver/puppetserver.log: parameter 'enable_mode7' expects a Boolean value, got String
puppetlabs/puppetserver/puppetserver.log: parameter 'iburst_enable' expects a Boolean value, got String
puppetlabs/puppetserver/puppetserver.log: parameter 'keys_enable' expects a Boolean value, got String
YAML output on the Satellite:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. import puppetlabs-ntp in new satellite
2. run puppet
3. go to smart parameters tab for ntp class
all parameters are marked as overriden
None should be
Module I imported: https://forge.puppet.com/puppetlabs/ntp
It happens only with that module, but I do not know whether that is because it was the first one I used (and that was also the case for the person in that thread mentioned above), or because it's really only that module that triggers it.
#2 Updated by Fabien Combernous about 1 year ago
- Found in Releases 1.17.1 added
I upgraded from foreman 1.16.1 to 1.17, on ubuntu 16.04. And immediately after the foreman update i was also concerned by this issue.
Were using puppet module puppetlabs-ntp release 6.2.0. And only the following parameters where overridden : pool, noselect_servers, statistics, statsdir, step_tickers_file.
Some modules i written were also concerned.
My workaround was to uncheck the "override" box for all concerned parameters.