Puppet dependency resolution system for nodes