Puppet utility functions