summaryrefslogtreecommitdiff
path: root/puppet/modules/vcsrepo/examples/p4
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-07-12 16:46:26 -0400
committerMicah <micah@leap.se>2016-07-12 16:46:26 -0400
commit850a14b59444737f703686d0d1996bf09ab08e2b (patch)
tree6d67b59126fc9d8329b6acdd072b53b5ea35bc25 /puppet/modules/vcsrepo/examples/p4
parent5247b7ccf5b5889ee16262dd976b03047e34e32c (diff)
git subrepo clone https://leap.se/git/puppet_vcsrepo puppet/modules/vcsrepo
subrepo: subdir: "puppet/modules/vcsrepo" merged: "4e23209" upstream: origin: "https://leap.se/git/puppet_vcsrepo" branch: "master" commit: "4e23209" git-subrepo: version: "0.3.0" origin: "https://github.com/ingydotnet/git-subrepo" commit: "1e79595" Change-Id: I72f8ecdef4855ef9da6e1486453b1cdf01bb54a3
Diffstat (limited to 'puppet/modules/vcsrepo/examples/p4')
-rw-r--r--puppet/modules/vcsrepo/examples/p4/create_client.pp4
-rw-r--r--puppet/modules/vcsrepo/examples/p4/delete_client.pp4
-rw-r--r--puppet/modules/vcsrepo/examples/p4/latest_client.pp5
-rw-r--r--puppet/modules/vcsrepo/examples/p4/sync_client.pp6
4 files changed, 19 insertions, 0 deletions
diff --git a/puppet/modules/vcsrepo/examples/p4/create_client.pp b/puppet/modules/vcsrepo/examples/p4/create_client.pp
new file mode 100644
index 00000000..3cf91602
--- /dev/null
+++ b/puppet/modules/vcsrepo/examples/p4/create_client.pp
@@ -0,0 +1,4 @@
+vcsrepo { '/tmp/vcstest/p4_client_root':
+ ensure => present,
+ provider => 'p4',
+}
diff --git a/puppet/modules/vcsrepo/examples/p4/delete_client.pp b/puppet/modules/vcsrepo/examples/p4/delete_client.pp
new file mode 100644
index 00000000..82c9c952
--- /dev/null
+++ b/puppet/modules/vcsrepo/examples/p4/delete_client.pp
@@ -0,0 +1,4 @@
+vcsrepo { '/tmp/vcstest/p4_client_root':
+ ensure => absent,
+ provider => 'p4',
+}
diff --git a/puppet/modules/vcsrepo/examples/p4/latest_client.pp b/puppet/modules/vcsrepo/examples/p4/latest_client.pp
new file mode 100644
index 00000000..106ef9e9
--- /dev/null
+++ b/puppet/modules/vcsrepo/examples/p4/latest_client.pp
@@ -0,0 +1,5 @@
+vcsrepo { '/tmp/vcstest/p4_client_root':
+ ensure => latest,
+ provider => 'p4',
+ source => '//depot/...',
+}
diff --git a/puppet/modules/vcsrepo/examples/p4/sync_client.pp b/puppet/modules/vcsrepo/examples/p4/sync_client.pp
new file mode 100644
index 00000000..33e47317
--- /dev/null
+++ b/puppet/modules/vcsrepo/examples/p4/sync_client.pp
@@ -0,0 +1,6 @@
+vcsrepo { '/tmp/vcstest/p4_client_root':
+ ensure => present,
+ provider => 'p4',
+ source => '//depot/...',
+ revision => '30',
+}