summaryrefslogtreecommitdiff
path: root/README.P4.markdown
diff options
context:
space:
mode:
authorPaul Allen <pallen@perforce.com>2014-06-16 17:04:52 +0100
committerPaul Allen <pallen@perforce.com>2014-06-20 12:16:29 +0100
commit8256eff1800e1377c7cf2b961ef63074a2ede0d4 (patch)
treea6dc22ae3fd34aa618ce3af7f2ac363455902f14 /README.P4.markdown
parent58f9cb20657a7be01777c920a37279f30dc1fce6 (diff)
Add support for passing password/ticket
Uses param ‘p4passwd’ to set P4PASSWD environment to pass a valid ticket or password.
Diffstat (limited to 'README.P4.markdown')
-rw-r--r--README.P4.markdown15
1 files changed, 12 insertions, 3 deletions
diff --git a/README.P4.markdown b/README.P4.markdown
index 39fffd2..f92f616 100644
--- a/README.P4.markdown
+++ b/README.P4.markdown
@@ -71,9 +71,18 @@ You can set `p4port` to specify a Perforce server:
p4port => 'ssl:perforce.com:1666'
}
-If `p4port`, `p4user`, `p4charset` or `p4client` are specified they will override the
-environment variabels P4PORT, P4USER, etc... If a P4CONFIG file is defined, the config
-file settings will take precedence.
+You can set `p4passwd` for authentication :
+
+ vcsrepo { "/path/to/repo":
+ ensure => present,
+ provider => p4,
+ source => '//depot/branch/...',
+ p4port => 'ssl:perforce.com:1666'
+ }
+
+If `p4port`, `p4user`, `p4charset`, `p4passwd` or `p4client` are specified they will
+override the environment variabels P4PORT, P4USER, etc... If a P4CONFIG file is
+defined, the config file settings will take precedence.
More Examples