summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-07-07 16:42:12 -0500
committerLuke Kanies <luke@madstop.com>2008-07-07 16:42:12 -0500
commit21d49578376b4adcf29e08b50cc14457bc4dcb26 (patch)
tree4863e35da04728b92a20249bb98c5dc2f6cfe6ce /lib
parent4762b525e2840f3b371b765fa479e46877052357 (diff)
downloadpuppet-21d49578376b4adcf29e08b50cc14457bc4dcb26.tar.gz
puppet-21d49578376b4adcf29e08b50cc14457bc4dcb26.tar.xz
puppet-21d49578376b4adcf29e08b50cc14457bc4dcb26.zip
Correct whitespace
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib')
-rwxr-xr-xlib/puppet/provider/package/gem.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/puppet/provider/package/gem.rb b/lib/puppet/provider/package/gem.rb
index 277fc68cc..373af431e 100755
--- a/lib/puppet/provider/package/gem.rb
+++ b/lib/puppet/provider/package/gem.rb
@@ -79,16 +79,16 @@ Puppet::Type.type(:package).provide :gem, :parent => Puppet::Provider::Package d
scheme = URI.parse(blah).scheme rescue nil # the URI scheme if there is one, nil otherwise
if scheme.nil?
- # no URI scheme => interpret the source as a local file
- command << source
+ # no URI scheme => interpret the source as a local file
+ command << source
elsif scheme.downcase == "file"
- command << source.path
+ command << source.path
elsif scheme.downcase == "puppet"
- # we don't support puppet:// URLs (yet)
- raise Puppet::Error.new("puppet:// URLs are not supported as gem sources")
+ # we don't support puppet:// URLs (yet)
+ raise Puppet::Error.new("puppet:// URLs are not supported as gem sources")
else
- # interpret it as a gem repository
- command << "--source" << "#{source}" << @resource[:name]
+ # interpret it as a gem repository
+ command << "--source" << "#{source}" << @resource[:name]
end
else
command << @resource[:name]