Facter and Docker network interfaces

asked 2015-08-01 06:10:58 -0500

kartikv gravatar image

Hi,

I have heard that docker adds it's own network interface and that this does not place nice with puppet. I have been reading this web page: http://blog-it.hypoport.de/2014/03/07... I have however not correctly understood how to puppetize a dockerized host. Could someone give me step by step directions. I will be much obliged. Thanks. Regards,

Kartik Vashishta

edit retag flag offensive close merge delete

Comments

Has this been resolved for CentOS 7. I installed docker and was gonna test what the web page recommended by writing a custom fact, however, with docker installed and running and it's interface up, I could nevertheless execute a successful puppet run. Please advise.

kartikv gravatar imagekartikv ( 2015-08-01 10:32:51 -0500 )edit

[root@docker docker-node-hello]# facter | grep -i ip ipaddress => 172.17.42.1 ipaddress_docker0 => 172.17.42.1 ipaddress_eno1 => 192.168.1.169 ipaddress_lo => 127.0.0.1

kartikv gravatar imagekartikv ( 2015-08-01 10:33:55 -0500 )edit