Update rz_broker support for metadata.

The razor module chef support changed the data format. Server and
version attribute for rz_broker are now part of the resource metadata.
Also we never properly supported servers, only a single server. This
commit fixes #93.
Merge pull request #94 from nanliu/tb/broker

Update rz_broker support for new metadata style.
Update README to reflect additional resources.

* Update readme file to include additional rz_* resources.
* Update readme to note resources only add/remove, not manage.
* Fix markdown resource example to display properly.
Merge pull request #95 from nanliu/tb/readme

Update README to reflect additional resources.
Add support for installing Razor using OS packages

This introduces support for installing Razor using OS packages, along-side the
existing support for installing from git.  At the moment git remains the
default mechanism for installation, as we gradually move toward a more
standard release model.

Closes #91.

Signed-off-by: Daniel Pittman <daniel@rimspace.net>
Merge pull request #92 from daniel-pittman/feature/master/91-support-packages-not-just-git

Add support for installing Razor using OS packages
Update the changelog for the 0.4.0 release

This updates the changelog to reflect the 0.4.0 release of the package, soon
to be on the forge.

Signed-off-by: Daniel Pittman <daniel@rimspace.net>
(#98) Removed version from broker arguments.

This change removes the version element from the broker parameters
because it was actually moved into the req_metadata_hash element. The
same happened to the servers element, in revision 66198f54 merged in
0c5a1c303, that was also moved to req_metadata_hash. The difference is
that the servers element was removed from the broker parameters but the
version element was forgotten.

The change is necessary because it prevents an error from occuring
when calling rz_broker. This currently results in the error: Invalid
parameter version(:version).
Merge pull request #99 from cr3/98

(#98) Removed version from broker arguments to prevent invalid parameter error.
Update with new official ISO download location

This updates the default ISO location to downloads.puppetlabs.com, and bumps
to version 0.10.0 of the Microkernel by default.

Signed-off-by: Daniel Pittman <daniel@rimspace.net>
Merge pull request #102 from daniel-pittman/101-downloads-on-our-website

Update with new official ISO download location
Update changelog for 0.4.1 release.

Signed-off-by: Daniel Pittman <daniel@rimspace.net>
Update module for CVE-2013-0269 - Ruby JSON vulnerabilities

CVE-2013-0269 details a potential denial-of-service, and remote object
creation, attack on Ruby JSON parsing gems. While Razor is generally safe
against these, and doesn't really have much by way of security to bypass with
object creation, we should protect against those.

This updates the module to ensure that a secure version of the JSON gem is
installed, and to default to the new ISO release that also bundles a fixed
version of the JSON gem.

This closes #103.

Signed-off-by: Daniel Pittman <daniel@rimspace.net>
Add generated files to our gitignore

The `pkg` directory and all content is generated during package build, and
should be ignored: they should never enter the repo.

Signed-off-by: Daniel Pittman <daniel@rimspace.net>
Merge pull request #104 from daniel-pittman/feature/master/103-CVE-2013-0269-json-dos-and-object-creation-risk

CVE-2013-0269 json dos and object creation risk
Automatic image download for local images.

This adds the parameter 'url' to rz_image. If the source path doesn't exist
and url is set, then the image will be downloaded and saved to the path. This
eases the automatic setup of Razor installations and reduces the network
traffic load caused by large setups.

By providing the url as an additional parameter it is possible for users to
control where local images are stored and still have them automatically
downloaded. It is important for users to have control over this path as it may
be highly specialized for their environment.
Make download fail on HTTP error.

Enable curl error reporting on HTTP errors. Without this flag curl can
silently fail to download an image and will result in an html file (instead of
the expected ISO). Users currently get no notification of this and instead
find that their systems won't properly netboot with VirtualBox indicating that
the VM has attempted an invalid op.
Use the latest mk by default.

This changes the default mk image to use 'latest' instead of a specific
version. Using 'latest' will reduce the maintenance burden with this setting.
It will only need to be updated in the future if the base location of the ISO
changes.
Merge pull request #105 from calebcase/master

Improve the rz_image type network interactions
(#106) Automatically generate the changelog from git commits

The manually maintained changelog file is used by the forge to inform users of
what has happened over the life of this project, but it is hard to keep
correct in the face of human error.

Since we have a complete and solid record of all the change that has happened
in the project - in the form of the git commit history - we can remove the
static version from the repository and replace it with a fully machine
generated file at build time.

This ensures the changelog is always correct, as well as rewarding the use of
good commit messages.

Closes #106.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>