adding config file parsing for puppetfail script