Trivial whitespace and scope cleanup in Rakefile

This eliminates some whitespace at EOL, and moves a scoped variable inside the
block it is consumed rather than sitting it at global scope.  There should
only be cosmetic, not functional, changes from this commit.

Signed-off-by: Daniel Pittman <daniel@rimspace.net>
Add PuppetLabs packaging automation support to Rake

This adds the `packaging` namespace, which can bootstrap our package building
automation support, as well as the metadata defining where that comes from and
how to update the set of packaging tasks.

This was primarily intended as an internal support infrastructure for building
and releasing the software, but it should be possible to use externally.

Signed-off-by: Daniel Pittman <daniel@rimspace.net>
Merge pull request #301 from daniel-pittman/feature/master/puppetlabs-packaging-infrastructure

Puppet Labs automated packaging infrastructure
Add zerombr to kickstart script. Issue #238.
Remove stray execute bits on Ruby library files

A couple of the Ruby libraries ended up +x, which they shouldn't be; might as
well remove that before linian complains about it.

Signed-off-by: Daniel Pittman <daniel@rimspace.net>
Fix over-strict sanity check breaking acceptance tests

When the base62 UUID rendered shorter than expected, we failed tests, despite
it being a good, fine, and valid string.  This corrects that.

Signed-off-by: Daniel Pittman <daniel@rimspace.net>
Support both `nodejs` and `node` in Razor

The Razor daemon startup script would look for the `node` binary to run the
JavaScript web server.  Unless compatibility symlinks are installed, many
distributions have ceded the `node` binary name to the tools that predated the
new JavaScript environment.

Checking for `nodejs` first, then `node`, makes us compatible with both sorts
of installation at very low cost.

Signed-off-by: Daniel Pittman <daniel@rimspace.net>
Implement Puppet Labs Debian packaging automation

This adds the infrastructure needed to build nightly Debian packages of
Project Razor, based on the current install model.  This is an initial step
toward the goal of packaged releases of Razor, not a final product:

These are far from "production" quality Debian packages; they install into
/opt/razor to mirror the current git distribution model, are not integrated
into the init system, and otherwise continue to operate as they did before.

Signed-off-by: Daniel Pittman <daniel@rimspace.net>
Implement Puppet Labs RPM packaging automation

Like the Debian packaging, this puts the infrastructure in place to build an
RPM file based on the current, non-production, non-FHS location of Razor.

Signed-off-by: Daniel Pittman <daniel@rimspace.net>
Merge pull request #305 from daniel-pittman/feature/master/303-initial-deb-and-rpm-packaging

Initial deb and rpm packaging
Update build_defaults.yaml with standard information

Previously build_defaults.yaml had information about the packaging url and
repo, but was missing items corresponding to cows, mocks, apt and yum
locations. This commit add those elements so that package builds succeed with
the current tooling.
Merge pull request #306 from haus/maint/fixup_build_defaults

Update build_defaults.yaml with standard information
Merge pull request #1 from puppetlabs/master

Upstream