Update cookbooks and add wordpress cookbook

This commit is contained in:
Greg Karékinian
2016-02-19 18:09:49 +01:00
parent 9ba973e3ac
commit 820b0ab3f8
606 changed files with 22421 additions and 14084 deletions

View File

@@ -28,12 +28,12 @@ describe 'postgresql::apt_pgdg_postgresql' do
file("/etc/apt/sources.list.d/apt.postgresql.org.list").must_exist
end
it 'installs postgresql-client-9.3' do
package("postgresql-client-9.3").must_be_installed
it 'installs postgresql-client-9.4' do
package("postgresql-client-9.4").must_be_installed
end
it 'makes psql version 9.3 available' do
it 'makes psql version 9.4 available' do
psql = shell_out("psql --version")
assert psql.stdout.include?("psql (PostgreSQL) 9.3")
assert psql.stdout.include?("psql (PostgreSQL) 9.4")
end
end

View File

@@ -30,6 +30,7 @@ describe 'postgresql::server' do
end
it 'can connect to postgresql' do
Gem.clear_paths
require 'pg'
conn = PG::Connection.new(
:host => 'localhost',