Add basic CentOS support

Without this patch applied, the module only works with debian based
systems.  On a CentOS 5 system the apt repository is managed which
doesn't make sense.

This patch splits out the jenkins::repo class into a dispatcher class
pattern to allow specific centos and debian based implementations.

The yum configuration for EL systems sets up the repository but does not
manage GPG keys so package verification is not yet enabled.

In addition, anchor resources have been added to the jenkins::repo
dispatcher class to ensure the jenkins::repo::el and
jenkins::repo::debian implementation classes don't "float off" in the
relationship graph as per #8040.
Add jenkins-ci.org YUM repo GPG Key

Without this patch the jenkins module has basic support for CentOS 5 but
cannot verify GPG signatures of the RPM packages.

This patch adds the GPG public key directly into the module, manages the
key on disk as a file resource, and imports the key into the RPM
database using an exec resource.
Add service resource to jenkins module

Without this patch the jenkins module doesn't actually bring up the
service.  This patch fixes the problem on EL based systems by adding a
jenkins::service class.  The behavior for debian based systems remains
the same, no service resource is managed.
Add jenkins::git inert class by default

This change changes the jenkins module to define a new jenkins::git
class.  The new jenkins::git class uses the already defined
install-jenkins-plugin defined resource type to install the Git plugin.
The change should automatically restart the jenkins service when Puppet
manages the new plugin.

The change itself is inert to preserve the existing behavior of the
jenkins module.  This should not be an API breaking change.  An example
of how to take advantage of this new class is provided in the
tests/site.pp file.
(maint) Add Modulefile for puppet-module tool and forge

Without this patch, no module metadata file exists.  This makes using
the module with the puppet-module [1] tool difficult.  This patch adds a
basic Modulefile to work with the puppet-module build command.

The Modulefile needs to be updated with the LICENSE information for this
module.  I could not figure it out from the repository or commit
history.

With this patch, this module may be built using:

    % rake build
    ===========================================================
    Building /Users/jeff/vms/puppet/modules/jenkins for release
    -----------------------------------------------------------
    Done. Built: pkg/rtyler-jenkins-0.0.1.tar.gz

The built module may be installed using the puppet module tool.  The
built module package may also be uploaded to the Forge.
(maint) Ignore pkg/* tmp/* and README.pdf in VCS

Without this patch, files created by the puppet-module build command
remain in the working copy and cause the version control system to
consider the tree as dirty.

This patch adds a .gitignore file to ignore these files created by the
build tool.
Add rspec tests, README, and Rakefile

Without this patch no behavior tests exist for the Jenkins module.  This
patch lays the foundation for spec testing using the rspec-puppet gem.
A Rakefile with a default task of spec provides the command line
interface to running the spec test suite.

This patch requires the rspec-puppet 0.1.0 gem to be installed and
available to Ruby.  Only one test exists to exercise the testing
framework.  Rspec will validate a Puppet manifest with a simple "include
jenkins" statement will compile into a catalog which contains the
jenkins class.

I've tested the spec testing with the following integration:

 * puppet v2.7.6
 * facter v1.6.3
 * stdlib v2.2.0
 * rspec-puppet v0.1.0

The README is updated by this patch to describe how to run the test
suite and install necessary dependencies.
Add LICENSE under Apache 2.0

I emailed R. Tyler Croy tyler@monkeypox.org and he's agreed to license
the module under Apache 2.0.  This patch includes the license text and
attributes copyrights to R. Tyler Croy tyler@monkeypox.org.
Merge pull request #1 from jeffmccune/feature/master/centos_support

Add CentOS support and RSpec unit tests
preventing install-jenkins-plugin resource to fail due to
/var/lib/jenkins not existing
Merge pull request #2 from rafaelfelix/patch-1

preventing install-jenkins-plugin resource to fail due to
Specify that we depend on the stdlib, not always assumed in some setups
Tidy up the Rakefile a bit to use the RSpec rake task
Add a Gemfile for easily bootstrapping a gemset
Use the implicit $name variable in the install-jenkins-plugin resource
Add a cleaner interface for installing plugins: jenkins::plugin { 'git' : ; }
I clearly tested this
Update the README with the fancy new resouce
Enable the jenkins service resource across the board
Add a placeholder for the puppet-jenkins module on openSUSE