[Puppet Users] Re: How to get remote node ip

2017-07-04 Thread Александр Подолин
It's a group of servers with different interface name. I read a docs and now, i think to use custom facts and factor utilite, to get ip but i can not understand, which directory i must save file with custom fact вторник, 4 июля 2017 г., 12:21:33 UTC+3 пользователь Александр Подолин написал: > >

[Puppet Users] Re: How to get remote node ip

2017-07-04 Thread Peter Faller
If you know what physical interface that address is on, you can use 'ipaddress_ens33' for example: # facter --puppet | fgrep interface interfaces => ens32,ens33,lo # facter --puppet | fgrep ip ipaddress => 192.168.51.106 ipaddress_ens32 => 192.168.51.106 ipaddress_ens33 => 192.168.53.106 ipaddres