diff options
author | Paul Allen <pallen@perforce.com> | 2014-06-23 15:51:28 +0100 |
---|---|---|
committer | Paul Allen <pallen@perforce.com> | 2014-06-23 15:51:28 +0100 |
commit | 319f9fbe1954fd172da638f3ccd76e58c3ec8c7f (patch) | |
tree | 24f0bcc88c3b2ed927e7698a1b5b290f4f7e5768 /examples/p4 | |
parent | ac4e14770fc04db02be2f48f6de675e90e3f6b29 (diff) |
Added support for p4config.
- Removed p4port, p4client, p4user to keep name space clean.
- Changed notify to Puppet.debug
- Updated markdown and examples
- Updated unit tests
Diffstat (limited to 'examples/p4')
-rw-r--r-- | examples/p4/create_client.pp | 5 | ||||
-rw-r--r-- | examples/p4/delete_client.pp | 5 | ||||
-rw-r--r-- | examples/p4/latest_client.pp | 3 | ||||
-rw-r--r-- | examples/p4/sync_client.pp | 5 |
4 files changed, 7 insertions, 11 deletions
diff --git a/examples/p4/create_client.pp b/examples/p4/create_client.pp index 94017bc..f491701 100644 --- a/examples/p4/create_client.pp +++ b/examples/p4/create_client.pp @@ -1,5 +1,4 @@ -vcsrepo { "/tmp/vcstest-p4-create_client": +vcsrepo { "/tmp/vcstest/p4_client_root": ensure => present, - provider => p4, - p4client => "puppet-test001" + provider => p4 }
\ No newline at end of file diff --git a/examples/p4/delete_client.pp b/examples/p4/delete_client.pp index 20bdd47..239349b 100644 --- a/examples/p4/delete_client.pp +++ b/examples/p4/delete_client.pp @@ -1,5 +1,4 @@ -vcsrepo { "/tmp/vcstest-p4-create_client": +vcsrepo { "/tmp/vcstest/p4_client_root": ensure => absent, - provider => p4, - p4client => "puppet-test001" + provider => p4 }
\ No newline at end of file diff --git a/examples/p4/latest_client.pp b/examples/p4/latest_client.pp index 54f9062..9dcd68e 100644 --- a/examples/p4/latest_client.pp +++ b/examples/p4/latest_client.pp @@ -1,6 +1,5 @@ -vcsrepo { "/tmp/vcstest-p4-create_client": +vcsrepo { "/tmp/vcstest/p4_client_root": ensure => latest, provider => p4, - p4client => "puppet-test001", source => "//depot/..." }
\ No newline at end of file diff --git a/examples/p4/sync_client.pp b/examples/p4/sync_client.pp index e22f6b0..55dc9dc 100644 --- a/examples/p4/sync_client.pp +++ b/examples/p4/sync_client.pp @@ -1,7 +1,6 @@ -vcsrepo { "/tmp/vcstest-p4-create_client": +vcsrepo { "/tmp/vcstest/p4_client_root": ensure => present, provider => p4, - p4client => "puppet-test001", - source => "//depot/..." + source => "//depot/...", revision => "30" }
\ No newline at end of file |