Révision c82b960a
rubocop:auto_correct results
spec/classes/rules/node_exporter_spec.rb | ||
---|---|---|
1 |
# frozen_string_literal: true |
|
2 |
|
|
1 | 3 |
require 'spec_helper' |
2 | 4 |
|
3 | 5 |
describe 'nftables::rules::node_exporter' do |
... | ... | |
19 | 21 |
|
20 | 22 |
it { is_expected.to compile } |
21 | 23 |
it { is_expected.to contain_nftables__rule('default_in-node_exporter').with_content('tcp dport 100 accept') } |
24 |
|
|
22 | 25 |
context 'with prometheus_server set' do |
23 | 26 |
let(:params) do |
24 | 27 |
super().merge({ prometheus_server: ['127.0.0.1', '::1'] }) |
Formats disponibles : Unified diff