summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/hg/clone_basic_auth.pp6
-rw-r--r--examples/p4/create_client.pp6
-rw-r--r--examples/p4/delete_client.pp6
-rw-r--r--examples/p4/latest_client.pp8
-rw-r--r--examples/p4/sync_client.pp10
5 files changed, 18 insertions, 18 deletions
diff --git a/examples/hg/clone_basic_auth.pp b/examples/hg/clone_basic_auth.pp
index 1931e1f..984f8ea 100644
--- a/examples/hg/clone_basic_auth.pp
+++ b/examples/hg/clone_basic_auth.pp
@@ -1,7 +1,7 @@
vcsrepo { '/path/to/repo':
- ensure => latest,
- provider => hg,
- source => 'http://hg.example.com/myrepo',
+ ensure => latest,
+ provider => 'hg',
+ source => 'http://hg.example.com/myrepo',
basic_auth_username => 'hgusername',
basic_auth_password => 'hgpassword',
}
diff --git a/examples/p4/create_client.pp b/examples/p4/create_client.pp
index f491701..0f8233a 100644
--- a/examples/p4/create_client.pp
+++ b/examples/p4/create_client.pp
@@ -1,4 +1,4 @@
-vcsrepo { "/tmp/vcstest/p4_client_root":
+vcsrepo { '/tmp/vcstest/p4_client_root':
ensure => present,
- provider => p4
-} \ No newline at end of file
+ provider => 'p4',
+}
diff --git a/examples/p4/delete_client.pp b/examples/p4/delete_client.pp
index 239349b..1e305f1 100644
--- a/examples/p4/delete_client.pp
+++ b/examples/p4/delete_client.pp
@@ -1,4 +1,4 @@
-vcsrepo { "/tmp/vcstest/p4_client_root":
+vcsrepo { '/tmp/vcstest/p4_client_root':
ensure => absent,
- provider => p4
-} \ No newline at end of file
+ provider => 'p4',
+}
diff --git a/examples/p4/latest_client.pp b/examples/p4/latest_client.pp
index 9dcd68e..a7caeb6 100644
--- a/examples/p4/latest_client.pp
+++ b/examples/p4/latest_client.pp
@@ -1,5 +1,5 @@
-vcsrepo { "/tmp/vcstest/p4_client_root":
+vcsrepo { '/tmp/vcstest/p4_client_root':
ensure => latest,
- provider => p4,
- source => "//depot/..."
-} \ No newline at end of file
+ provider => 'p4',
+ source => '//depot/...',
+}
diff --git a/examples/p4/sync_client.pp b/examples/p4/sync_client.pp
index 55dc9dc..fc0e29c 100644
--- a/examples/p4/sync_client.pp
+++ b/examples/p4/sync_client.pp
@@ -1,6 +1,6 @@
-vcsrepo { "/tmp/vcstest/p4_client_root":
+vcsrepo { '/tmp/vcstest/p4_client_root':
ensure => present,
- provider => p4,
- source => "//depot/...",
- revision => "30"
-} \ No newline at end of file
+ provider => 'p4',
+ source => '//depot/...',
+ revision => '30',
+}