Smarter Puppet deployment