Issue #7834 has been updated by Adrien Thebo.
First off, what version of puppet are you using?
Secondly, support for setting parameters for parameterized classes was added in
puppet 2.6.6. The parameters values are used to set top level values.
In puppet 2.6.6 and later, this YAML would give you the results you're trying
to achieve:
<pre>
---
classes:
selinux::params:
selinux_mode: permissive
</pre>
----------------------------------------
Bug #7834: ENC not support parameter with namespace information in its name
https://projects.puppetlabs.com/issues/7834
Author: hai wu
Status: Unreviewed
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.