OK, it sounds as if it's not hooked up correctly. There should be a matching connector near the ECU harness that fits the 2 wire distributor connector.
Look for a ceramic resistor in the same area. We need to know if it's 2 or 4 terminal
2 terminal ballast, typical:
4 terminal ballast:
The reason this matters, is that if you have an older ECU which are known as "5 terminal" you must use a 4 terminal resistor. Newer so called "4 terminal" ECUs can use EITHER a 2 or 4 terminal ballast