summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Gibbins <adam@adamgibbins.com>2012-03-11 21:10:08 +0000
committerAdam Gibbins <adam@adamgibbins.com>2012-03-11 21:10:08 +0000
commit8acf719c0f0560f15bd60b0be75ef5e25257d6ca (patch)
tree409a0880a39e3eaa3792cd0db113b19b11bee408
parentb3de3a5c2b23cef308b6d814a08b4e2a3ab6e791 (diff)
downloadpuppet-vcsrepo-8acf719c0f0560f15bd60b0be75ef5e25257d6ca.tar.gz
puppet-vcsrepo-8acf719c0f0560f15bd60b0be75ef5e25257d6ca.tar.bz2
Make Puppet DSL compliant with the style guides and puppet lint.
-rw-r--r--examples/bzr/branch.pp2
-rw-r--r--examples/bzr/init_repo.pp2
-rw-r--r--examples/cvs/local.pp12
-rw-r--r--examples/cvs/remote.pp6
-rw-r--r--examples/git/bare_init.pp4
-rw-r--r--examples/git/clone.pp8
-rw-r--r--examples/git/working_copy_init.pp4
-rw-r--r--examples/hg/clone.pp8
-rw-r--r--examples/hg/init_repo.pp4
-rw-r--r--examples/svn/checkout.pp8
-rw-r--r--examples/svn/server.pp4
11 files changed, 31 insertions, 31 deletions
diff --git a/examples/bzr/branch.pp b/examples/bzr/branch.pp
index f9e24a1..a24dbb5 100644
--- a/examples/bzr/branch.pp
+++ b/examples/bzr/branch.pp
@@ -1,4 +1,4 @@
-vcsrepo { "/tmp/vcstest-bzr-branch":
+vcsrepo { '/tmp/vcstest-bzr-branch':
ensure => present,
provider => bzr,
source => 'lp:do',
diff --git a/examples/bzr/init_repo.pp b/examples/bzr/init_repo.pp
index 3d63728..36d2463 100644
--- a/examples/bzr/init_repo.pp
+++ b/examples/bzr/init_repo.pp
@@ -1,4 +1,4 @@
-vcsrepo { "/tmp/vcstest-bzr-init":
+vcsrepo { '/tmp/vcstest-bzr-init':
ensure => present,
provider => bzr
}
diff --git a/examples/cvs/local.pp b/examples/cvs/local.pp
index 290616c..c72652d 100644
--- a/examples/cvs/local.pp
+++ b/examples/cvs/local.pp
@@ -1,11 +1,11 @@
-vcsrepo { "/tmp/vcstest-cvs-repo":
- ensure => present,
+vcsrepo { '/tmp/vcstest-cvs-repo':
+ ensure => present,
provider => cvs
}
-vcsrepo { "/tmp/vcstest-cvs-workspace-local":
- ensure => present,
+vcsrepo { '/tmp/vcstest-cvs-workspace-local':
+ ensure => present,
provider => cvs,
- source => "/tmp/vcstest-cvs-repo",
- require => Vcsrepo["/tmp/vcstest-cvs-repo"]
+ source => '/tmp/vcstest-cvs-repo',
+ require => Vcsrepo['/tmp/vcstest-cvs-repo']
}
diff --git a/examples/cvs/remote.pp b/examples/cvs/remote.pp
index d5dc702..990a580 100644
--- a/examples/cvs/remote.pp
+++ b/examples/cvs/remote.pp
@@ -1,5 +1,5 @@
-vcsrepo { "/tmp/vcstest-cvs-workspace-remote":
- ensure => present,
+vcsrepo { '/tmp/vcstest-cvs-workspace-remote':
+ ensure => present,
provider => cvs,
- source => ":pserver:anonymous@cvs.sv.gnu.org:/sources/leetcvrt"
+ source => ':pserver:anonymous@cvs.sv.gnu.org:/sources/leetcvrt'
}
diff --git a/examples/git/bare_init.pp b/examples/git/bare_init.pp
index c70e705..f16d137 100644
--- a/examples/git/bare_init.pp
+++ b/examples/git/bare_init.pp
@@ -1,4 +1,4 @@
-vcsrepo { "/tmp/vcstest-git-bare":
- ensure => bare,
+vcsrepo { '/tmp/vcstest-git-bare':
+ ensure => bare,
provider => git
}
diff --git a/examples/git/clone.pp b/examples/git/clone.pp
index fe706cc..b7d5bfb 100644
--- a/examples/git/clone.pp
+++ b/examples/git/clone.pp
@@ -1,5 +1,5 @@
-vcsrepo { "/tmp/vcstest-git-clone":
- ensure => present,
+vcsrepo { '/tmp/vcstest-git-clone':
+ ensure => present,
provider => git,
- source => "git://github.com/bruce/rtex.git"
-}
+ source => 'git://github.com/bruce/rtex.git'
+}
diff --git a/examples/git/working_copy_init.pp b/examples/git/working_copy_init.pp
index f92fbee..b20af20 100644
--- a/examples/git/working_copy_init.pp
+++ b/examples/git/working_copy_init.pp
@@ -1,4 +1,4 @@
-vcsrepo { "/tmp/vcstest-git-wc":
- ensure => present,
+vcsrepo { '/tmp/vcstest-git-wc':
+ ensure => present,
provider => git
}
diff --git a/examples/hg/clone.pp b/examples/hg/clone.pp
index c7a7ab5..92b3335 100644
--- a/examples/hg/clone.pp
+++ b/examples/hg/clone.pp
@@ -1,6 +1,6 @@
-vcsrepo { "/tmp/vcstest-hg-clone":
- ensure => present,
+vcsrepo { '/tmp/vcstest-hg-clone':
+ ensure => present,
provider => hg,
- source => "http://hg.basho.com/riak",
+ source => 'http://hg.basho.com/riak',
revision => 'riak-0.5.3'
-}
+}
diff --git a/examples/hg/init_repo.pp b/examples/hg/init_repo.pp
index 660a78a..52aba4c 100644
--- a/examples/hg/init_repo.pp
+++ b/examples/hg/init_repo.pp
@@ -1,4 +1,4 @@
-vcsrepo { "/tmp/vcstest-hg-init":
- ensure => present,
+vcsrepo { '/tmp/vcstest-hg-init':
+ ensure => present,
provider => hg
}
diff --git a/examples/svn/checkout.pp b/examples/svn/checkout.pp
index 10af8a7..1fceb7b 100644
--- a/examples/svn/checkout.pp
+++ b/examples/svn/checkout.pp
@@ -1,6 +1,6 @@
-vcsrepo { "/tmp/vcstest-svn-checkout":
- ensure => present,
+vcsrepo { '/tmp/vcstest-svn-checkout':
+ ensure => present,
provider => svn,
- source => 'http://svn.edgewall.org/repos/babel/trunk'
+ source => 'http://svn.edgewall.org/repos/babel/trunk'
}
-
+
diff --git a/examples/svn/server.pp b/examples/svn/server.pp
index b48415b..eaf6b27 100644
--- a/examples/svn/server.pp
+++ b/examples/svn/server.pp
@@ -1,4 +1,4 @@
-vcsrepo { "/tmp/vcstest-svn-server":
- ensure => present,
+vcsrepo { '/tmp/vcstest-svn-server':
+ ensure => present,
provider => svn
}