diff options
author | Aaron Stone <aaron@serendipity.cx> | 2013-07-19 11:28:24 -0700 |
---|---|---|
committer | Aaron Stone <aaron@serendipity.cx> | 2013-07-19 11:28:24 -0700 |
commit | 1881688dc0c0ed72002d3f74764435f56f2c2429 (patch) | |
tree | bfe4feb93b8eb20cf902c95cb5a06b9f1f1829f7 /lib/puppet/provider/vcsrepo | |
parent | 82eaf06433b63f6f3ccd9a81daf2c6b285222f51 (diff) | |
download | puppet-vcsrepo-1881688dc0c0ed72002d3f74764435f56f2c2429.tar.gz puppet-vcsrepo-1881688dc0c0ed72002d3f74764435f56f2c2429.tar.bz2 |
Whitespace
Diffstat (limited to 'lib/puppet/provider/vcsrepo')
-rw-r--r-- | lib/puppet/provider/vcsrepo/cvs.rb | 3 | ||||
-rw-r--r-- | lib/puppet/provider/vcsrepo/git.rb | 2 | ||||
-rw-r--r-- | lib/puppet/provider/vcsrepo/svn.rb | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/lib/puppet/provider/vcsrepo/cvs.rb b/lib/puppet/provider/vcsrepo/cvs.rb index 0603017..6b64ba7 100644 --- a/lib/puppet/provider/vcsrepo/cvs.rb +++ b/lib/puppet/provider/vcsrepo/cvs.rb @@ -120,7 +120,7 @@ Puppet::Type.type(:vcsrepo).provide(:cvs, :parent => Puppet::Provider::Vcsrepo) def runcvs(*args) if @resource.value(:cvs_rsh) debug "Using CVS_RSH = " + @resource.value(:cvs_rsh) - e = { :CVS_RSH => @resource.value(:cvs_rsh) } + e = { :CVS_RSH => @resource.value(:cvs_rsh) } else e = {} end @@ -129,5 +129,4 @@ Puppet::Type.type(:vcsrepo).provide(:cvs, :parent => Puppet::Provider::Vcsrepo) Puppet.debug cvs *args end end - end diff --git a/lib/puppet/provider/vcsrepo/git.rb b/lib/puppet/provider/vcsrepo/git.rb index 33443ce..1ca1751 100644 --- a/lib/puppet/provider/vcsrepo/git.rb +++ b/lib/puppet/provider/vcsrepo/git.rb @@ -66,7 +66,7 @@ Puppet::Type.type(:vcsrepo).provide(:git, :parent => Puppet::Provider::Vcsrepo) fail("#{@resource.value(:revision)} is not a local or remote ref") end - # $ git ls-remote --heads --tags origin feature/cvs + # $ git ls-remote --heads --tags origin feature/cvs # 7d4244b35e72904e30130cad6d2258f901c16f1a refs/heads/feature/cvs canonical = remote_ref.split.first end diff --git a/lib/puppet/provider/vcsrepo/svn.rb b/lib/puppet/provider/vcsrepo/svn.rb index 2e7cda5..7485ff5 100644 --- a/lib/puppet/provider/vcsrepo/svn.rb +++ b/lib/puppet/provider/vcsrepo/svn.rb @@ -56,7 +56,7 @@ Puppet::Type.type(:vcsrepo).provide(:svn, :parent => Puppet::Provider::Vcsrepo) if @resource.value(:configuration) args.push('--config-dir', @resource.value(:configuration)) end - + return args end |