Facter.add('cs_nat_ip') do
setcode do
%x{cat /cs/etc/node_metadata.yml | grep 'nat_ip_addr' | cut -d ':' -f 3}.strip
end
end
Facter.add('cs_nat_ip') do
setcode do
%x{cat /cs/etc/node_metadata.yml | grep 'nat_ip_addr' | cut -d ':' -f 3}.strip
end
end