hunner/puppet-wordpress

confusing error if wget missing

Opened this issue · 0 comments

Overview

If wget is missing, users receive the confusing message:

Error: /Stage[main]/Wordpress/Wordpress::Instance[/opt/wordpress]/Wordpress::Instance::App[/opt/wordpress]/Concat[/opt/wordpress/wp-config.php]/Concat_file[/opt/wordpress/wp-config.php]: Failed to generate additional resources using 'eval_generate': undefined method `join' for "/opt/wordpress/wp-keysalts.php":String

Workaround

Install wget :)

long-term improvement

It would be a nice improvement to silence the noise from running puppet by protecting the call to join that is causing the above error. This will then leave users with less error messages to sift through