puppetlabs/puppet-server — pull request #269 by cprice404 (2014-11-10 21:41:51+00:00)
Title: Maint/master/server 112 improve bootstrap test

(SERVER-112) rename dev sample config file

We were not being consistent in our naming of our various sample
config files. This commit simply renames the main puppet-server.conf
sample file to be more consistent with the other sample files.

(SERVER-112) rename testutils namespaces to be more specific

This commit simply renames the `jruby/testutils` and `ca/testutils`
namespaces to `jruby-testutils` and `ca-testutils`. In a subsequent
commit I will be introducing another new testutils namespace, and
was concerned that we were going to start piling up too many files
named `testutils.clj`.

(SERVER-112) Introduce bootstrap testutils, improve bootstrap test

Prior to this commit, the bootstrap test wasn't actually doing
much work. It would create a trapperkeeper app to make sure that
there were no failures in just loading the service *namespaces*,
but it did not call any of the lifecycle functions of any of the
services, so would not actually do much in terms of validating
that the app could be run.

This commit improves the test to make it actually do a full startup
of the app based on the sample config files.

It also introduces a bootstrap_testutils namespace, which contains
some test utility code relating to booting up a puppet server
instance during testing. This will be useful for some forthcoming
tests that I am writing related to testing puppet's directory
environments.