4 Commits

Author SHA1 Message Date
Alex Schultz
be485ab98c Move rspec-puppet-facts to spec helper
This change updates the module to use the rspec-puppet-facts as defined
in the puppet-openstack_spec_helper.

Change-Id: Iffec15c2cc4d73d163a0eef54c47d948b3d40fc7
2016-09-30 13:22:26 -06:00
Alex Schultz
8f40941ccc Add rspec-puppet-facts to the spec_helper
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
2016-01-17 10:44:25 +00:00
Iury Gregory Melo Ferreira
9b7ac7a647 Switch magnum to $::os_service_default
Switch to $::os_service_default all params in logging and db.
Changes: logging.pp, db.pp and tests.

Change-Id: Ic3ff963064fcb34f86056d88b6f2dce5e270fedc
2015-12-03 15:24:51 +00:00
Nate Potter
6a34ff8435 puppet-magnum: Initial commit
This is the initial commit for puppet-magnum.
It has mostly been automatically generated using cookiecutter[1] and
msync[2]

[1] https://github.com/openstack/puppet-openstack-cookiecutter
[2] https://github.com/openstack/puppet-modulesync-configs

Change-Id: Id43f377828837dba70745bbe66b51297e383e602
2015-11-12 15:52:15 +00:00