|
85 | 85 | end |
86 | 86 |
|
87 | 87 | it_behaves_like 'splunk enterprise nix defaults' |
88 | | - it { is_expected.to contain_package('net-tools').with(ensure: 'present') } |
| 88 | + it { is_expected.to contain_package('net-tools').with(ensure: 'installed') } |
89 | 89 | it { is_expected.to contain_class('splunk::enterprise').with(service_name: 'splunk') } |
90 | 90 | it { is_expected.not_to contain_file('/etc/init.d/splunk').with(ensure: 'absent') } |
91 | 91 | it { is_expected.to contain_exec('stop_splunk').with(command: '/opt/splunk/bin/splunk stop') } |
|
123 | 123 | end |
124 | 124 |
|
125 | 125 | it_behaves_like 'splunk enterprise nix defaults' |
126 | | - it { is_expected.not_to contain_package('net-tools').with(ensure: 'present') } |
| 126 | + it { is_expected.not_to contain_package('net-tools').with(ensure: 'installed') } |
127 | 127 | it { is_expected.to contain_class('splunk::enterprise').with(service_name: 'splunk') } |
128 | 128 | it { is_expected.not_to contain_file('/etc/init.d/splunk').with(ensure: 'absent') } |
129 | 129 | it { is_expected.to contain_exec('stop_splunk').with(command: '/opt/splunk/bin/splunk stop') } |
|
161 | 161 | end |
162 | 162 |
|
163 | 163 | it_behaves_like 'splunk enterprise nix defaults' |
164 | | - it { is_expected.to contain_package('net-tools').with(ensure: 'present') } |
| 164 | + it { is_expected.to contain_package('net-tools').with(ensure: 'installed') } |
165 | 165 | it { is_expected.to contain_class('splunk::enterprise').with(service_name: 'Splunkd') } |
166 | 166 | it { is_expected.to contain_file('/etc/init.d/splunk').with(ensure: 'absent') } |
167 | 167 | it { is_expected.to contain_exec('stop_splunk').with(command: '/opt/splunk/bin/splunk stop') } |
|
211 | 211 | end |
212 | 212 |
|
213 | 213 | it_behaves_like 'splunk enterprise nix defaults' |
214 | | - it { is_expected.not_to contain_package('net-tools').with(ensure: 'present') } |
| 214 | + it { is_expected.not_to contain_package('net-tools').with(ensure: 'installed') } |
215 | 215 | it { is_expected.to contain_class('splunk::enterprise').with(service_name: 'splunk') } |
216 | 216 | it { is_expected.not_to contain_file('/etc/init.d/splunk').with(ensure: 'absent') } |
217 | 217 | it { is_expected.to contain_exec('stop_splunk').with(command: '/opt/splunk/bin/splunk stop') } |
|
255 | 255 | end |
256 | 256 |
|
257 | 257 | it_behaves_like 'splunk enterprise nix defaults' |
258 | | - it { is_expected.to contain_package('net-tools').with(ensure: 'present') } |
| 258 | + it { is_expected.to contain_package('net-tools').with(ensure: 'installed') } |
259 | 259 | it { is_expected.to contain_class('splunk::enterprise').with(service_name: 'splunk') } |
260 | 260 | it { is_expected.not_to contain_file('/etc/init.d/splunk').with(ensure: 'absent') } |
261 | 261 | it { is_expected.not_to contain_exec('stop_splunk') } |
|
293 | 293 | end |
294 | 294 |
|
295 | 295 | it_behaves_like 'splunk enterprise nix defaults' |
296 | | - it { is_expected.not_to contain_package('net-tools').with(ensure: 'present') } |
| 296 | + it { is_expected.not_to contain_package('net-tools').with(ensure: 'installed') } |
297 | 297 | it { is_expected.to contain_class('splunk::enterprise').with(service_name: 'splunk') } |
298 | 298 | it { is_expected.not_to contain_file('/etc/init.d/splunk').with(ensure: 'absent') } |
299 | 299 | it { is_expected.not_to contain_exec('stop_splunk') } |
|
331 | 331 | end |
332 | 332 |
|
333 | 333 | it_behaves_like 'splunk enterprise nix defaults' |
334 | | - it { is_expected.to contain_package('net-tools').with(ensure: 'present') } |
| 334 | + it { is_expected.to contain_package('net-tools').with(ensure: 'installed') } |
335 | 335 | it { is_expected.to contain_class('splunk::enterprise').with(service_name: 'Splunkd') } |
336 | 336 | it { is_expected.to contain_file('/etc/init.d/splunk').with(ensure: 'absent') } |
337 | 337 | it { is_expected.not_to contain_exec('stop_splunk') } |
|
369 | 369 | end |
370 | 370 |
|
371 | 371 | it_behaves_like 'splunk enterprise nix defaults' |
372 | | - it { is_expected.not_to contain_package('net-tools').with(ensure: 'present') } |
| 372 | + it { is_expected.not_to contain_package('net-tools').with(ensure: 'installed') } |
373 | 373 | it { is_expected.to contain_class('splunk::enterprise').with(service_name: 'splunk') } |
374 | 374 | it { is_expected.not_to contain_file('/etc/init.d/splunk').with(ensure: 'absent') } |
375 | 375 | it { is_expected.not_to contain_exec('stop_splunk') } |
|
0 commit comments