File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments