This change updates the module to use the rspec-puppet-facts as defined
in the puppet-openstack_spec_helper.
Change-Id: Iffec15c2cc4d73d163a0eef54c47d948b3d40fc7
This change adds the rspec-puppet-facts gem to the spec helper so that
we can centralize the management of the base operating systems that we
support. rspec-puppet-facts allows us to simplify our unit tests and
provides a more complete list of Operating Systems and their associated
facts for the unit tests. With this change we can now loop over and
test CentOS, Debian, Fedora, RedHat, and Ubuntu by simply providing a
list of supported os to rspec-puppet-facts.
Additionally this change includes a central object for managing our
supported os list for rspec-puppet-facts and providing our default facts
like os_service_default. This central object should replace the usage of
@default_facts within the unit tests for each module.
Change-Id: I49d3ddf1e0df160b856bd5960ca568818e9fc521
Switch to $::os_service_default all params in logging and db.
Changes: logging.pp, db.pp and tests.
Change-Id: Ic3ff963064fcb34f86056d88b6f2dce5e270fedc