Hi,
I would like to give the example for the problem i am facing
# Define:
# common::def_ifcfg_bond
#
# Parameters:
# device_bond :ifcfg-bondX DEVICE
# bond_conf :ifcfg_bond configuration parameter
# userctl :ifcfg-bondX USERCTL
# onboot :ifcfg-bondX ONBOOT
#
# Actions:
# At each of the specified setting, create the
/etc/sysconfig/network-scripts/ifcfg-bond file
define common::def_ifcfg_bond (
$device_bond = '',
$bond_conf = {
userctl => '',
onboot => '',
}
) {
file { "/etc/sysconfig/network-scripts/ifcfg-${device_bond}" :
ensure => present,
owner => 'root',
group => 'root',
mode => '0644',
content => template($ifcfg_bond_tmpl),
}
}
Here the class has hash value $bond_conf = { userctl => '', onboot =>
'', }.
rdoc generated by puppet doc does not create documentation for it.
Regards,
Sneha More
On Wed, Aug 14, 2013 at 4:49 PM, Sneha More <[email protected]> wrote:
> Hi,
> I am generating rdoc by puppet doc, but it is not creating
> documentation for the class having hash values.
> Is there any way to solve this problem?
>
> Regards,
> Sneha More.
>
>
--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.