holmes-app / holmes-api

API for holmes website validation.
MIT License
17 stars 7 forks source link

Create a mechanism of fact dependency on adding facts #119

Open ricardodani opened 10 years ago

ricardodani commented 10 years ago

The holmes.validators.total_requests:TotalRequestsValidator is actually a Facter, but is dressed as a Validator because he needs to wait for some Facters to be processed to then can process your facts.

Implementing a fact dependency, (inspired on South`s depends_on) can solve this problem.

Fixing this we can make the TotalRequestsValidator a real Facter