Map Pillar dicts for PostgreSQL entities to the Salt state arguments

This commit is contained in:
Denys Havrysh
2016-09-09 11:36:26 +03:00
parent dd0be32810
commit 8c4dc07467
6 changed files with 152 additions and 200 deletions

View File

@@ -19,5 +19,5 @@ describe file('/srv/my_tablespace') do
end
describe command(%q{su - postgres -c 'psql -qtc "\l+ db2"'}) do
its(:stdout) { should match(/db2.*localUser.*UTF8.*en_US\.UTF-8.*en_US\.UTF-8.*my_space/) }
its(:stdout) { should match(/db2.*remoteUser.*UTF8.*en_US\.UTF-8.*en_US\.UTF-8.*my_space/) }
end