Skip to content
This repository has been archived by the owner on Nov 18, 2019. It is now read-only.

mpc_zone custom fact breaks on a docker server #11

Open
lynxnot opened this issue May 15, 2017 · 0 comments
Open

mpc_zone custom fact breaks on a docker server #11

lynxnot opened this issue May 15, 2017 · 0 comments

Comments

@lynxnot
Copy link

lynxnot commented May 15, 2017

The custom fact mpc_zone breaks when executed on a docker server.

Executing facter on a docker server gives the following result:

$ facter 
[...]
interfaces => docker0,eth0,eth1,eth2,lo,veth714185e
ipaddress => 172.17.42.1
ipaddress_docker0 => 172.17.42.1
ipaddress_eth0 => 10.102.68.xx
[...]

The custom fact is using the value of "ipaddress" to determine the zone, which in case docker is installed is wrong.

I'll make a PR with a possible solution for this bug.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant