Skip to content

Commit

Permalink
Improve ownCloud setup errors checking
Browse files Browse the repository at this point in the history
  • Loading branch information
zuazo committed Sep 24, 2015
1 parent b3dc45e commit 561cdec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ suites:
- name: postgresql
run_list: recipe[owncloud_test::postgresql]
- name: sqlite
excludes:
# execute[run owncloud setup]: Writing to database failed
- centos-5.11
run_list: recipe[owncloud_test::sqlite]
- name: nginx
run_list: recipe[owncloud_test::nginx]
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def mysql_password(user)
cwd node['owncloud']['dir']
command(
"sudo -u '#{node[web_server]['user']}' php -f index.php "\
'| { ! grep -iA2 error; }'
'| { ! grep -iA2 -e error -e failed; }'
)
action :nothing
end
Expand Down

0 comments on commit 561cdec

Please sign in to comment.