Skip to content

Commit 02662c5

Browse files
test: fix linter
1 parent 2733015 commit 02662c5

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

spec/classes/database_postgresql_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@
150150
end
151151

152152
it { is_expected.to compile.with_all_deps }
153-
#it { is_expected.to contain_exec('update_pgpass').with_command('echo node01.example.com:5432:zabbix-proxy:zabbix-proxy:zabbix-proxy >> /root/.pgpass') }
154153
it { is_expected.to contain_exec('update_pgpass').with_command(sensitive('echo node01.example.com:5432:zabbix-proxy:zabbix-proxy:zabbix-proxy >> /root/.pgpass')) }
155154

156155
if Puppet::Util::Package.versioncmp(zabbix_version, '6.0') < 0

spec/classes/web_spec.rb

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,12 @@
116116

117117
describe 'when manage_resources is true' do
118118
let :params do
119-
super().merge( {
120-
manage_resources: true,
121-
zabbix_api_pass: 'zabbix' # cleartext password must be explicitly declared in this test, otherwise the parser will secure content of the file
122-
})
119+
super().merge(
120+
{
121+
manage_resources: true,
122+
zabbix_api_pass: 'zabbix' # cleartext password must be explicitly declared in this test, otherwise the parser will secure content of the file
123+
}
124+
)
123125
end
124126

125127
it do

0 commit comments

Comments
 (0)