puppetrun logic