cmuench / puppet-n98magerun

n98-magerun puppet module [unmaintained]
Apache License 2.0
4 stars 15 forks source link

Augeas[whitelist_phar] - could not evaluate #12

Open tdm4 opened 8 years ago

tdm4 commented 8 years ago

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.

cmuench commented 8 years ago

@tdm4 Thanks for reporting. I switched to ansible which is in my eyes simpler. So i don't use puppet anymore.

parhamr commented 8 years ago

@cmuench would you please then mark this repository and the forge module as unmaintained?