This message was deleted.
# puppet
s
This message was deleted.
b
for which fact are you looking?
and keep in mind that
facter
is deprecated. Use
puppet facts show
l
publicIpAddress
i'm ssh'd into this box right now, with the public IP
b
that doesn't look like facter output
or it is a custom fact
check
puppet facts show networking
l
what i screenshotted was az_metadata.network, puppet facts show networking returns the networking portion but I don't see a publicip in there anywhere
i see it's privateip, 10.0.0.4
b
is the public ip visible in
ip a s
?
l
weirdly enough, no
but yet i can see it in azure and am using it to connect
b
if the IP isn't configured locally, puppet cannot detect it 🙂
l
well shoot. I'll look into that
thanks @bastelfreak
y
azure gives you no public ip on your VM so puppet cannot figure it out
there is NAT which does mapping from the public IP you’re using to the VM’s private IP
not sure if azure metadata has this info at all