salt/lang/ruby.sls.bak in salted-rails-0.0.4 vs salt/lang/ruby.sls.bak in salted-rails-0.0.5
- old
+ new
@@ -71,19 +71,19 @@
#
# ruby installation
#
# this is currently not working
-# ruby-{{ pillar['ruby-version'] }}:
+# ruby-{{ pillar['ruby_version'] }}:
# rbenv.installed:
# - default: True
# - require:
# - git: https://github.com/sstephenson/ruby-build.git
install_ruby:
cmd.run:
- - name: {{ pillar['homedir'] }}/.rbenv/bin/rbenv install {{ pillar['ruby-version'] }}
+ - name: {{ pillar['homedir'] }}/.rbenv/bin/rbenv install {{ pillar['ruby_version'] }}
- user: {{ pillar['username'] }}
- group: {{ pillar['username'] }}
- require:
- git: https://github.com/sstephenson/ruby-build.git
@@ -95,10 +95,10 @@
- require:
- cmd: install_rbenv
set-global:
cmd.run:
- - name: {{ pillar['homedir'] }}/.rbenv/bin/rbenv global {{ pillar['ruby-version'] }}
+ - name: {{ pillar['homedir'] }}/.rbenv/bin/rbenv global {{ pillar['ruby_version'] }}
- user: {{ pillar['username'] }}
- group: {{ pillar['username'] }}
- require:
- cmd: rehash