Displaying 1 result from an estimated 1 matches for "llthost".
Did you mean:
ll_host
2007 Jun 11
1
Thoughts on arrays and generic functions
...$members, $clustername, $clusterno,
$vips, $vipmasks, $loprinic, $hiprinic, $primarynic) {
$hostlist = array2string($members) # <-- Custom fn - join(" ")
$vip1 = array_elt($members, 0) # <-- Custom fn - return element
$mask1 = array_elt($vipmasks, 0)
file { llthosts:
owner => root,
group => root,
mode => 0644,
content => template("llthosts_conf"),
path => "/etc/llthosts"
}
file { llttab:
owner => root,
group => root,
mode => 0644,
conten...