puppet-ntp
puppet-ntp copied to clipboard
Service is not subscribed to the default config file if it exists
I think that the correct condition is
$service_subscribe = defined(File[$defaults_file]) ? {
true => [ File[$config_file], File[$defaults_file], ],
default => File[$config_file],
}
because the $defaults_file never evaluates to true.
Hi, any updates?
I'll first need to fix the tests and then I'll check this commit. Hopefully I'll get this done over the weekend
For more details about this bug, please check here:
https://puppet.com/docs/puppet/5.3/lang_conditional.html#selectors