diff options
Diffstat (limited to 'examples/p4')
-rw-r--r-- | examples/p4/create_client.pp | 4 | ||||
-rw-r--r-- | examples/p4/delete_client.pp | 4 | ||||
-rw-r--r-- | examples/p4/latest_client.pp | 5 | ||||
-rw-r--r-- | examples/p4/sync_client.pp | 6 |
4 files changed, 19 insertions, 0 deletions
diff --git a/examples/p4/create_client.pp b/examples/p4/create_client.pp new file mode 100644 index 0000000..f491701 --- /dev/null +++ b/examples/p4/create_client.pp @@ -0,0 +1,4 @@ +vcsrepo { "/tmp/vcstest/p4_client_root": + ensure => present, + provider => p4 +}
\ No newline at end of file diff --git a/examples/p4/delete_client.pp b/examples/p4/delete_client.pp new file mode 100644 index 0000000..239349b --- /dev/null +++ b/examples/p4/delete_client.pp @@ -0,0 +1,4 @@ +vcsrepo { "/tmp/vcstest/p4_client_root": + ensure => absent, + provider => p4 +}
\ No newline at end of file diff --git a/examples/p4/latest_client.pp b/examples/p4/latest_client.pp new file mode 100644 index 0000000..9dcd68e --- /dev/null +++ b/examples/p4/latest_client.pp @@ -0,0 +1,5 @@ +vcsrepo { "/tmp/vcstest/p4_client_root": + ensure => latest, + provider => p4, + source => "//depot/..." +}
\ No newline at end of file diff --git a/examples/p4/sync_client.pp b/examples/p4/sync_client.pp new file mode 100644 index 0000000..55dc9dc --- /dev/null +++ b/examples/p4/sync_client.pp @@ -0,0 +1,6 @@ +vcsrepo { "/tmp/vcstest/p4_client_root": + ensure => present, + provider => p4, + source => "//depot/...", + revision => "30" +}
\ No newline at end of file |