It looks like it’s working as expected. You did a deep merge, so it is finding all these:
common.yaml mpm_event status host.yaml headers include mpm_prefork ssl —mpm_prefork (But this one is excluded to do "knockout_prefix" => "—“,) -- Becca > On Mar 7, 2020, at 10:53 AM, Helmut Schneider <[email protected]> wrote: > > Hi, > > using Puppet 5.5 and Hiera 3.4.6: > > common.yaml: > profiles: > webserver: > apache: > server: > modules: > enable: > - mpm_event > - status > > host.yaml: > profiles: > webserver: > apache: > server: > modules: > enable: > - headers > - include > - mpm_prefork > - ssl > - --mpm_event > > config.pp > $profiles = lookup({ > "name" => "profiles", > "merge" => { > "strategy" => "deep", > "knockout_prefix" => "--", > }, > "default_value" => [], > }) > > Notice: {"enable"=>["mpm_event", "status", "headers", "include", > "mpm_prefork", "ssl"]} > Notice: /Stage[main]/My_apache::Config/Notify[apacheCfg/modules]/message: > defined 'message' as { > 'enable' => ['mpm_event', 'status', 'headers', 'include', 'mpm_prefork', > 'ssl'] > } > > Why isn't mpm_event being removed? > > Thank you! > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/r40jif%243uj3%241%40ciao.gmane.io. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/400DD1E9-311B-4BC5-A490-0925779E7642%40puppet.com.
