change tests and hiera fixtures to allow tests to pass with the changes to the config path
This commit is contained in:
parent
e27e9a9e85
commit
7a6250d00a
@ -11,8 +11,8 @@ describe 'bind' do
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
it { should contain_file('_CONFDIR_/named.conf').that_requires('Package[bind]') }
|
it { should contain_file('_NAMEDCONF_').that_requires('Package[bind]') }
|
||||||
it { should contain_file('_CONFDIR_/named.conf').that_notifies('Service[bind]') }
|
it { should contain_file('_NAMEDCONF_').that_notifies('Service[bind]') }
|
||||||
|
|
||||||
it {
|
it {
|
||||||
should contain_service('bind').with({
|
should contain_service('bind').with({
|
||||||
|
|||||||
1
spec/fixtures/hiera/common.yaml
vendored
1
spec/fixtures/hiera/common.yaml
vendored
@ -1,2 +1,3 @@
|
|||||||
---
|
---
|
||||||
bind::confdir: '_CONFDIR_'
|
bind::confdir: '_CONFDIR_'
|
||||||
|
bind::namedconf: '_NAMEDCONF_'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user