Skip to content

Commit

Permalink
fix(default.sls): fix subnet declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
fthenard authored and myii committed Jan 27, 2020
1 parent 75810c0 commit c814779
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/integration/default/controls/config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,6 @@
# 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
3 changes: 2 additions & 1 deletion test/salt/pillar/default.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c814779

Please sign in to comment.