Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit 9d7211b

Browse files
committed
Merge pull request #35 from richaagarwal/master
Fix search for existing databases by removing no-align option
2 parents 78ee719 + 761b53c commit 9d7211b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manifests/db.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
"-O ${postgresql::user}",
1717
$name
1818
], ' '),
19-
unless => "${postgresql::bindir}/psql -aA -p${postgresql::port} -t -l | cut -d \\| -f 1 | grep -w '${name}'"
19+
unless => "${postgresql::bindir}/psql -a -p${postgresql::port} -t -l | cut -d \\| -f 1 | grep -w '${name}'"
2020
}
2121
}

spec/defines/postgresql_db_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
should contain_exec("postgresql-db-#{title}").with({
1111
:command => "/test/boxen/homebrew/bin/createdb -p15432 -E UTF-8 -O testuser #{title}",
12-
:unless => "/test/boxen/homebrew/bin/psql -aA -p15432 -t -l | cut -d \\| -f 1 | grep -w '#{title}'"
12+
:unless => "/test/boxen/homebrew/bin/psql -a -p15432 -t -l | cut -d \\| -f 1 | grep -w '#{title}'"
1313
})
1414
end
1515
end

0 commit comments

Comments
 (0)