July 15, 2014

Deploy Code from Perforce Using Puppet

Integration

The good news for Puppet enthusiasts is that it now includes built-in support for Perforce, integrating all the power of the Perforce platform with Puppet’s unique brand of infrastructure management. For those unfamiliar with it, Puppet brings powerful IT automation tools to bear on the problems of configuring and maintaining computing systems in a reliable, repeatable way. In short, Puppet helps sysadmins ensure that systems stay up and running just as they should.

For those not familiar with Perforce, it provides world-class version control, which can now be leveraged directly through Puppet to provide a single source of truth for source code, binaries, configuration files, and any other data necessary to proper operation. Perforce is the industry leader in enterprise version management capabilities and is singular in its ability to power continuous delivery to build better products faster and at scale.

To make use of Perforce, one may now simply leverage the existing Puppet vcsrepo module, the gateway to version control systems generally. Users need only define variables in its simple syntax to create a Perforce workspace and keep it synced with all the right content. Variables to select which Perforce server to use, which user, and so forth are all easily available. Specific instructions for Perforce integration are available online, as are a small set of examples of Puppet scripts that use Perforce features.

And of course all of the Puppet/Perforce goodness is now available out of the box with no additional work necessary. This gives Perforce enthusiasts another good reason to evaluate Puppet, knowing that it will work with their favorite VCS as-is. Give it a try and discover how Perforce empowers Puppet.