Issue #7834 has been updated by Nan Liu. Status changed from Unreviewed to Rejected
ENC variables by design are intended for top scope, so $selinux_params is intended as a top scope variable ::selinux_params. If you intend to pass parameters to a class, either use dynamic scoping for Puppet 0.25, and use parametrized classes for Puppet 2.6+, ENC support for parametrized classes was added in 2.6.5: http://projects.puppetlabs.com/projects/1/wiki/Release_Notes#2.6.5. ---------------------------------------- Bug #7834: ENC not support parameter with namespace information in its name https://projects.puppetlabs.com/issues/7834 Author: hai wu Status: Rejected Priority: Normal Assignee: Category: Target version: Affected Puppet version: Keywords: ENC Branch: ENC does not support parameter with namespace information in its name. For example: After putting parameter selinux_mode in selinux::params.pp file, I could see from YAML output under "parameters:" section, it has: selinux::params::selinux_mode: permissive But when trying to print its value out: notify {"this is $selinux::params::selinux_mode":} It only prints out "this is" .. If changing the parameter name to be: selinux_params_selinux_mode, then it is working fine with ENC. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
