Commit 3c3aeddf authored by Stefan Galinski's avatar Stefan Galinski 🎮
Browse files

[BUGFIX] Add greedier patterns for the line cookbook calls

parent bfd86427
......@@ -59,7 +59,6 @@ include_recipe 'build-essential'
package 'libsqlite3-dev'
gem_package 'mailcatcher'
###############################
### Add mailcatcher service ###
###############################
......@@ -84,13 +83,13 @@ end
replace_or_add 'change sendmail in the apache2 php configuration for mailcatcher' do
path '/etc/php5/apache2/php.ini'
pattern ';sendmail_path ='
pattern '.*sendmail_path =.*'
line 'sendmail_path = "/usr/bin/env catchmail"'
end
replace_or_add 'change sendmail in the apache2 php configuration for mailcatcher' do
path '/etc/php5/cli/php.ini'
pattern ';sendmail_path ='
pattern '.*sendmail_path =.*'
line 'sendmail_path = "/usr/bin/env catchmail"'
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment