search for: fnconfig

Displaying 1 result from an estimated 1 matches for "fnconfig".

Did you mean: fconfig
2010 May 22
1
Default value for arguments of a definition
For example, I''m trying to define a function to setup the firewall config define fnConfig($pInterface,$pPorts) { file { "/etc/apf/conf.apf": content => template("apf.conf.erb"), notify => Service["apf"], } } However, if I don''t specify anything, I would like it to automatically set $pInterface=''eth0'' and $pPorts...