Skip to content

Commit

Permalink
Fix autolib_mode parameter references
Browse files Browse the repository at this point in the history
  • Loading branch information
Chadwick Banning committed Jun 9, 2016
1 parent 543677b commit 9506280
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/puppet/provider/rvm_system_ruby/rvm_system_ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ def install
end
end
options = Array(resource[:build_opts])
if resource[:autolibs_mode]
options << "--autolibs #{resource[:autolibs_mode]}"
if resource[:autolib_mode]
options << "--autolibs #{resource[:autolib_mode]}"
end
if resource[:proxy_url] and !resource[:proxy_url].empty?
rvmcmd "install", resource[:name], "--proxy", resource[:proxy_url], *options
Expand Down

0 comments on commit 9506280

Please sign in to comment.