mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-10 14:51:42 +00:00
fix(default.sls): fix subnet declaration
* https://travis-ci.com/saltstack-formulas/bind-formula/jobs/269539556 * Modified commit from #144
This commit is contained in:
parent
75810c07a7
commit
c814779774
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue