Minor fix

This commit is contained in:
vic 2013-03-06 19:01:28 +04:00
parent 7bd398bb8f
commit 015df5d3d0

View File

@ -60,8 +60,8 @@ $nodes = $nodes_harr
$default_gateway = '10.0.204.1'
$dns_nameservers = ['10.0.204.1','8.8.8.8']
$node = filter_nodes($nodes,'name',$::hostname)
$internal_address = $node['internal_address']
$public_address = $node['public_address']
$internal_address = $node[0]['internal_address']
$public_address = $node[0]['public_address']
$internal_netmask = '255.255.255.0'
$public_netmask = '255.255.255.0'
$controller_internal_addresses = nodes_to_hash(filter_nodes($nodes,'role','controller'),'name','internal_address')