query puppetdb from capistrano to build server/role lists for deployments