We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb3ffe1 commit b6e5bd6Copy full SHA for b6e5bd6
spec/classes/web_spec.rb
@@ -172,6 +172,15 @@
172
it { is_expected.not_to contain_class('zabbix::resources::web') }
173
end
174
175
+ describe 'with parameter: database_schema' do
176
+ let :params do
177
+ super().merge(database_schema: 'zabbix')
178
+ end
179
+
180
+ it { is_expected.to contain_file('/etc/zabbix/web/zabbix.conf.php').with_content(%r{^\$DB\['SCHEMA'\] = 'zabbix'}) }
181
182
183
184
it { is_expected.to contain_apache__vhost('zabbix.example.com').with_name('zabbix.example.com') }
185
186
context 'with database_* settings' do
0 commit comments