Previous iterations and even a release were all broken. The module works again, sorry for the interlude. - Giving up on params and moving to module_data (WIP) - Change the Package and Service references to the static 'bind' name - Add a meager amount of test coverage
15 lines
438 B
Ruby
15 lines
438 B
Ruby
require 'puppetlabs_spec_helper/module_spec_helper'
|
|
require 'fixtures/modules/module_data/lib/hiera/backend/module_data_backend.rb'
|
|
|
|
RSpec.configure do |c|
|
|
c.default_facts = {
|
|
:osfamily => 'Debian',
|
|
:operatingsystem => 'Debian',
|
|
:lsbdistcodename => 'wheezy',
|
|
:architecture => 'amd64',
|
|
:kernel => 'Linux',
|
|
:test_config => 'default'
|
|
}
|
|
c.hiera_config = File.join('spec', 'fixtures', 'hiera', 'hiera.yaml')
|
|
end
|