diff --git a/spec/classes/bind_spec.rb b/spec/classes/bind_spec.rb index 9fada43..20568b7 100644 --- a/spec/classes/bind_spec.rb +++ b/spec/classes/bind_spec.rb @@ -11,8 +11,8 @@ describe 'bind' do }) } - it { should contain_file('_CONFDIR_/named.conf').that_requires('Package[bind]') } - it { should contain_file('_CONFDIR_/named.conf').that_notifies('Service[bind]') } + it { should contain_file('_NAMEDCONF_').that_requires('Package[bind]') } + it { should contain_file('_NAMEDCONF_').that_notifies('Service[bind]') } it { should contain_service('bind').with({ diff --git a/spec/fixtures/hiera/common.yaml b/spec/fixtures/hiera/common.yaml index 631d77d..12f29a7 100644 --- a/spec/fixtures/hiera/common.yaml +++ b/spec/fixtures/hiera/common.yaml @@ -1,2 +1,3 @@ --- bind::confdir: '_CONFDIR_' +bind::namedconf: '_NAMEDCONF_'