Closed bittner closed 6 years ago
See issue #16 for the implementation (full source code) of the rspec test.
$service_provider is a fact in stdlib: https://github.com/puppetlabs/puppetlabs-stdlib#service_provider
I usually mock it in the spec tests with facts.
When running tests over the roles of our control repository that use the
mariadb
module I get the following error for an unknown variable that refer to params.pp, line 16:Where is
$service_provider
supposed to come from? What is it supposed to contain?I guess I will simply set it to
'systemd'
for the RSpec example on the affected roles to make the tests pass. Do I do the right thing?