2
使用的事實,我想用清單裏面機器的IP地址,但木偶與失敗:在puppetlabs的iptables模塊
Error: Failed to apply catalog: Parameter destination failed on Firewall[004 accept ssh]: host_to_ip failed for ${address}, exception no address for ${address} at /etc/puppetlabs/
firewall { '004 accept ssh':
proto => 'tcp',
destination => '$::ipaddress',
dport => '22',
action => 'accept',
}
我怎樣才能自動獲得IP地址嗎?
非常感謝! – jonasv