Version information
released Jan 25th 2016
This version is compatible with:
- Puppet Enterprise >= 3.0.0 < 2015.4.0
- Puppet >= 3.0.0 < 5.0.0
- , , ,
Start using this module
Add this module to your Puppetfile:
mod 'alanpetersen-p4api', '0.1.2'
Learn more about managing modules with a PuppetfileDocumentation
alanpetersen/p4api — version 0.1.2 Jan 25th 2016
p4api
Overview
This module manages the Perforce API installation on Linux systems.
Usage
At a minimum, you can accept the defaults and simply use include p4api
to manage the Perforce API on the node.
You can override defaults using hiera, or by specifying parameters when declaring the p4api class. For example:
class { 'p4api':
version => '14.3',
osuser => 'perforce',
osgroup => 'perforce',
}
Parameters
version
- the P4API version you want to manage. This defaults to15.2
.base_download_url
- the base URL from which the P4API distribution will be downloaded. This defaults toftp://ftp.perforce.com/perforce
.dist_dir
- the distribution directory (under the r${version} directory) that will contain the distribution tarball. This is calculated in theparams
class.base_perforce_dir
- the base directory where the P4API (and symlink) will be created. This defaults to/opt/perforce
.manage_base_dir
- a boolean indicating whether or not this module should attempt to manage the base directory. This defaults totrue
. You might want to set this to false, for example, if some other Perforce product (like GitFusion) is also being managed on the system.create_symlink
- a boolean indicating whether or not the symlink should be created. This defaults totrue
.symlink_name
- the name of the symlink that will point to the actual P4API distribution directory. This defaults top4api
.osuser
- the OS user account that will own the P4API directory and symlink. This defaults toroot
. This module will NOT manage the user... that should be done separately.osgroup
- the OS group that will own the P4API directory and symlink. This defaults toroot
. This module will NOT manage the group... that should be done separately.staging_dir
- the directory where the P4API distribution will be downloaded. This defaults to/var/staging
. The distribution will be downloaded into thep4api
subdirectory.
Limitations
Currently, the module only supports Linux. A Windows version is being considered.
2016-01-25 - Release 0.1.2
Summary
updated params.pp to support Ubuntu 1204 and made the error message a little more meaningful.
2016-01-18 - Release 0.1.1
Summary
Cleaned up comments, added facts to return list of p4api installations (p4api_list) and the maximum p4api version installed (p4api_maxversion)
2016-01-16 - Release 0.1.0
Summary
This is the initial release.
Dependencies
- nanliu/staging (>= 1.0.1 < 2.0.0)