added functionality for puppetdb fact based publishing to dashboard