Fix for puppet 3.4's create_resources