Your module assumes that everyone has suhosin installed, so Augeas[whitelist_phar] fails miserably on servers that do not have this module installed.
Debug output:
Debug: Augeas[whitelist_phar](provider=augeas): Opening augeas with root /, lens path /var/lib/puppet/lib/augeas/lenses, flags 32Debug: Augeas[whitelist_phar](provider=augeas): Augeas version 1.2.0 is installedDebug: Augeas[whitelist_phar](provider=augeas): Will attempt to save and only run if files changedDebug: Augeas[whitelist_phar](provider=augeas): sending command 'set' with params ["/files/etc/php5/conf.d/suhosin.ini/suhosin/suhosin.executor.include.whitelist", "phar"]Debug: Augeas[whitelist_phar](provider=augeas): Closed the augeas connectionError: /Stage[main]/N98magerun/Augeas[whitelist_phar]: Could not evaluate: Saving failed, see debug
You may want to have it detect if suhosin is installed and run whitelist_phar if it does.
Your module assumes that everyone has suhosin installed, so Augeas[whitelist_phar] fails miserably on servers that do not have this module installed.
Debug output:
Debug: Augeas[whitelist_phar](provider=augeas): Opening augeas with root /, lens path /var/lib/puppet/lib/augeas/lenses, flags 32
Debug: Augeas[whitelist_phar](provider=augeas): Augeas version 1.2.0 is installed
Debug: Augeas[whitelist_phar](provider=augeas): Will attempt to save and only run if files changed
Debug: Augeas[whitelist_phar](provider=augeas): sending command 'set' with params ["/files/etc/php5/conf.d/suhosin.ini/suhosin/suhosin.executor.include.whitelist", "phar"]
Debug: Augeas[whitelist_phar](provider=augeas): Closed the augeas connection
Error: /Stage[main]/N98magerun/Augeas[whitelist_phar]: Could not evaluate: Saving failed, see debug
You may want to have it detect if suhosin is installed and run whitelist_phar if it does.