diff --git a/test/integration/default/controls/config_spec.rb b/test/integration/default/controls/config_spec.rb index 2611075..129f84c 100644 --- a/test/integration/default/controls/config_spec.rb +++ b/test/integration/default/controls/config_spec.rb @@ -169,6 +169,6 @@ control 'File ' + config + '.local' do # Match acl1 its('content') { should match /acl\ client1\ \{\n\ \ 127\.0\.0\.0\/8;\n\ \ 10\.20\.0\.0\/16;\n\};/ } # Match acl2 - its('content') { should match /^acl\ client2\ \{\n\ \ 10\.30\.0\.0\/8;\n\};/ } + its('content') { should match /acl\ client2\ \{\n\ \ 10\.0\.0\.0\/8;\n\ \ 10\.30\.0\.0\/16;\n\};/ } end end diff --git a/test/salt/pillar/default.sls b/test/salt/pillar/default.sls index 0871e87..8e422e5 100644 --- a/test/salt/pillar/default.sls +++ b/test/salt/pillar/default.sls @@ -7,7 +7,8 @@ bind: - 127.0.0.0/8 - 10.20.0.0/16 client2: - - 10.30.0.0/8 + - 10.0.0.0/8 + - 10.30.0.0/16 configured_zones: example.com: type: master