On Sat, May 22, 2010 at 2:12 PM, mathie wrote:
> 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
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 $p