Skip to content

Commit

Permalink
Merge pull request #123 from walkamongus/rvm_autolibs_refactor
Browse files Browse the repository at this point in the history
Fix autolib_mode parameter references
  • Loading branch information
carlossg committed Jun 9, 2016
2 parents 984ac9f + 9506280 commit b0a5a0c
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 b0a5a0c

Please sign in to comment.