Basic Perforce provider

Should look and feel like the other SVN/HG/etc... providers.  I had to add a few Perforce specific parameters and support for Workspaces.  I may need to enhance the use of Workspaces later, but this should get most Perforce users started.
The P4CONFIG environment is typically set to the name of a file.  Perforce then starts in the current directory and moves up the tree looking for a matching file (stopping at / or <drive>:\).  Typical names are:  (Windows) p4config.txt, (*NIX/OS X) .p4config or .p4
 
In some situations P4CONFIG can be an absolute path, but it is less common.

On 24 Jun 2014, at 19:32, Hunter Haugen <notifications@github.com> wrote:

> In README.markdown:
> 
> > +      provider   => p4
> > +    }
> > +
> > +If no `P4CLIENT` environment name is provided a workspace generated name is calculated
> > +based on the Digest of path and hostname.  For example:
> > +
> > +    puppet-91bc00640c4e5a17787286acbe2c021c
> > +
> > +A Perforce configuration file can be used by setting the `P4CONFIG` environment or
> > +defining `p4config`.  If a configuration is defined, then the environment variable for 
> > +`P4CLIENT` is replaced.
> > + 
> > +    vcsrepo { "/path/to/repo":
> > +      ensure     => present,
> > +      provider   => p4,
> > +      p4config   => '.p4config'
> 
> Should this example be an absolute path? If it is a relative path, what would the base be?
> 
> —
> Reply to this email directly or view it on GitHub.
> 



--------------------------------------------------------------------------------
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. Please 
note that any views or opinions presented in this email are solely those of the 
author and do not necessarily represent those of Perforce Software. Finally, 
the recipient should check this email and any attachments for the presence of 
viruses. Perforce Software accepts no liability for any damage caused by any 
virus transmitted by this email.

Perforce Software UK Ltd is registered in England and Wales as company no. 
3816019 at the following address: West Forest Gate, Wellington Road, Wokingham,
RG40 2AT, UK
--------------------------------------------------------------------------------