Compare commits
1 Commits
libertacas
...
lintfix
Author | SHA1 | Date | |
---|---|---|---|
ad7db1c78f |
68
kitchen.yml
68
kitchen.yml
@ -283,10 +283,10 @@ platforms:
|
|||||||
- name: ubuntu-1604-3000-8-py2
|
- name: ubuntu-1604-3000-8-py2
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3000.8-py2:ubuntu-16.04
|
image: saltimages/salt-3000.8-py2:ubuntu-16.04
|
||||||
# - name: arch-base-latest-3000-8-py2
|
# - name: arch-base-latest-3000-8-py2
|
||||||
# driver:
|
# driver:
|
||||||
# image: saltimages/salt-3000.8-py2:arch-base-latest
|
# image: saltimages/salt-3000.8-py2:arch-base-latest
|
||||||
# run_command: /usr/lib/systemd/systemd
|
# run_command: /usr/lib/systemd/systemd
|
||||||
|
|
||||||
provisioner:
|
provisioner:
|
||||||
name: salt_solo
|
name: salt_solo
|
||||||
@ -336,33 +336,33 @@ suites:
|
|||||||
verifier:
|
verifier:
|
||||||
inspec_tests:
|
inspec_tests:
|
||||||
- path: test/integration/default
|
- path: test/integration/default
|
||||||
# - name: gentoo
|
# - name: gentoo
|
||||||
# includes:
|
# includes:
|
||||||
# - gentoo-stage3-latest-master-py3
|
# - gentoo-stage3-latest-master-py3
|
||||||
# - gentoo-stage3-systemd-master-py3
|
# - gentoo-stage3-systemd-master-py3
|
||||||
# - gentoo-stage3-latest-3002-5-py3
|
# - gentoo-stage3-latest-3002-5-py3
|
||||||
# - gentoo-stage3-systemd-3002-5-py3
|
# - gentoo-stage3-systemd-3002-5-py3
|
||||||
# - gentoo-stage3-latest-3001-6-py3
|
# - gentoo-stage3-latest-3001-6-py3
|
||||||
# - gentoo-stage3-systemd-3001-6-py3
|
# - gentoo-stage3-systemd-3001-6-py3
|
||||||
# - gentoo-stage3-latest-3000-8-py3
|
# - gentoo-stage3-latest-3000-8-py3
|
||||||
# - gentoo-stage3-systemd-3000-8-py3
|
# - gentoo-stage3-systemd-3000-8-py3
|
||||||
# provisioner:
|
# provisioner:
|
||||||
# state_top:
|
# state_top:
|
||||||
# base:
|
# base:
|
||||||
# '*':
|
# '*':
|
||||||
# - nsd._mapdata
|
# - nsd._mapdata
|
||||||
# - nsd
|
# - nsd
|
||||||
# pillars:
|
# pillars:
|
||||||
# top.sls:
|
# top.sls:
|
||||||
# base:
|
# base:
|
||||||
# '*':
|
# '*':
|
||||||
# - nsd
|
# - nsd
|
||||||
# - gentoo
|
# - gentoo
|
||||||
# - define_roles
|
# - define_roles
|
||||||
# pillars_from_files:
|
# pillars_from_files:
|
||||||
# nsd.sls: pillar.example
|
# nsd.sls: pillar.example
|
||||||
# gentoo.sls: test/salt/pillar/gentoo.sls
|
# gentoo.sls: test/salt/pillar/gentoo.sls
|
||||||
# define_roles.sls: test/salt/pillar/define_roles.sls
|
# define_roles.sls: test/salt/pillar/define_roles.sls
|
||||||
# verifier:
|
# verifier:
|
||||||
# inspec_tests:
|
# inspec_tests:
|
||||||
# - path: test/integration/default
|
# - path: test/integration/default
|
||||||
|
@ -25,8 +25,7 @@ nsd:
|
|||||||
# nsd.conf.d/90-generated-zones will be created and managed.
|
# nsd.conf.d/90-generated-zones will be created and managed.
|
||||||
zones:
|
zones:
|
||||||
example.test:
|
example.test:
|
||||||
# Just for testing purpuses
|
multi-master-check: 'no'
|
||||||
multi-master-check: no
|
|
||||||
"168.192.in-addr.arpa": {}
|
"168.192.in-addr.arpa": {}
|
||||||
# NSD's include-pattern directive may be a better way to share configuration
|
# NSD's include-pattern directive may be a better way to share configuration
|
||||||
# across zones than using YAML anchors.
|
# across zones than using YAML anchors.
|
||||||
|
@ -22,38 +22,38 @@ control 'nsd.service.running' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
describe command('nslookup -port=53530 ns1.example.test 127.0.0.1') do
|
describe command('nslookup -port=53530 ns1.example.test 127.0.0.1') do
|
||||||
its('stdout') { should match "192.168.0.1" }
|
its('stdout') { should match '192.168.0.1' }
|
||||||
end
|
end
|
||||||
|
|
||||||
describe command('nslookup -port=53530 ns2.example.test 127.0.0.1') do
|
describe command('nslookup -port=53530 ns2.example.test 127.0.0.1') do
|
||||||
its('stdout') { should match "192.168.0.2" }
|
its('stdout') { should match '192.168.0.2' }
|
||||||
end
|
end
|
||||||
|
|
||||||
describe command('nslookup -port=53530 example.test 127.0.0.1') do
|
describe command('nslookup -port=53530 example.test 127.0.0.1') do
|
||||||
its('stdout') { should match "192.168.0.10" }
|
its('stdout') { should match '192.168.0.10' }
|
||||||
end
|
end
|
||||||
|
|
||||||
describe command('nslookup -port=53530 www.example.test 127.0.0.1') do
|
describe command('nslookup -port=53530 www.example.test 127.0.0.1') do
|
||||||
its('stdout') { should match "192.168.0.10" }
|
its('stdout') { should match '192.168.0.10' }
|
||||||
end
|
end
|
||||||
|
|
||||||
describe command('nslookup -port=53530 mail.example.test 127.0.0.1') do
|
describe command('nslookup -port=53530 mail.example.test 127.0.0.1') do
|
||||||
its('stdout') { should match "192.168.0.11" }
|
its('stdout') { should match '192.168.0.11' }
|
||||||
end
|
end
|
||||||
|
|
||||||
describe command('nslookup -port=53530 192.168.0.1 127.0.0.1') do
|
describe command('nslookup -port=53530 192.168.0.1 127.0.0.1') do
|
||||||
its('stdout') { should match "ns1.example.test" }
|
its('stdout') { should match 'ns1.example.test' }
|
||||||
end
|
end
|
||||||
|
|
||||||
describe command('nslookup -port=53530 192.168.0.2 127.0.0.1') do
|
describe command('nslookup -port=53530 192.168.0.2 127.0.0.1') do
|
||||||
its('stdout') { should match "ns2.example.test" }
|
its('stdout') { should match 'ns2.example.test' }
|
||||||
end
|
end
|
||||||
|
|
||||||
describe command('nslookup -port=53530 192.168.0.10 127.0.0.1') do
|
describe command('nslookup -port=53530 192.168.0.10 127.0.0.1') do
|
||||||
its('stdout') { should match "example.test" }
|
its('stdout') { should match 'example.test' }
|
||||||
end
|
end
|
||||||
|
|
||||||
describe command('nslookup -port=53530 192.168.0.11 127.0.0.1') do
|
describe command('nslookup -port=53530 192.168.0.11 127.0.0.1') do
|
||||||
its('stdout') { should match "mail.example.test" }
|
its('stdout') { should match 'mail.example.test' }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ values:
|
|||||||
example.test:
|
example.test:
|
||||||
multi-master-check: false
|
multi-master-check: false
|
||||||
zones_dir: "/etc/nsd/zones"
|
zones_dir: "/etc/nsd/zones"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user