changing to generate_puppet