Skip to content

Commit c814779

Browse files
fthenardmyii
authored andcommitted
fix(default.sls): fix subnet declaration
* https://travis-ci.com/saltstack-formulas/bind-formula/jobs/269539556 * Modified commit from #144
1 parent 75810c0 commit c814779

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/integration/default/controls/config_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,6 @@
169169
# Match acl1
170170
its('content') { should match /acl\ client1\ \{\n\ \ 127\.0\.0\.0\/8;\n\ \ 10\.20\.0\.0\/16;\n\};/ }
171171
# Match acl2
172-
its('content') { should match /^acl\ client2\ \{\n\ \ 10\.30\.0\.0\/8;\n\};/ }
172+
its('content') { should match /acl\ client2\ \{\n\ \ 10\.0\.0\.0\/8;\n\ \ 10\.30\.0\.0\/16;\n\};/ }
173173
end
174174
end

test/salt/pillar/default.sls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ bind:
77
- 127.0.0.0/8
88
- 10.20.0.0/16
99
client2:
10-
- 10.30.0.0/8
10+
- 10.0.0.0/8
11+
- 10.30.0.0/16
1112
configured_zones:
1213
example.com:
1314
type: master

0 commit comments

Comments
 (0)