(MAINT) Minor presuite cleanup.

* Temporary file should use 'puppetserver' instead of 'puppetdb' in its name.
* Restructure code so it's a little easier to read.

Signed-off-by: Wayne <wayne@puppetlabs.com>
(PUP-3459) Reports dierctory created with wrong owner.

This is a workaround for a more general problem with the puppety approach to
creating application-level resources--creation of directories whose paths are
known in advance is an installation task, not a runtime task.

Signed-off-by: Wayne <wayne@puppetlabs.com>
Merge pull request #222 from waynr/maint

(PUP-3459) Pre-suite puppet bug workaround to avoid permissions errors during acceptance test.