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:
fthenard 2020-01-27 10:45:30 +01:00 committed by Imran Iqbal
parent 75810c07a7
commit c814779774
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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