Skip to content

Commit d2c7406

Browse files
taqtiqa-admintaqtiqa-mark
authored andcommitted
Add jlenv recipe test fixtures.
1 parent 095cf31 commit d2c7406

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
name 'test'
22
version '0.99.0'
33

4-
depends 'ruby_rbenv'
4+
depends 'chef-jlenv'

test/fixtures/cookbooks/test/recipes/custom_group_install.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
user 'vagrant'
2121
end
2222

23-
jlenv_ruby '1.0.1' do
23+
jlenv_julia '1.0.1' do
2424
user 'vagrant'
2525
end
2626

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
version = '2.4.1'
1+
version = '1.0.1'
22

33
# Make sure that Vagarant user is on the box for dokken
44
include_recipe 'test::dokken'
55

6-
rbenv_user_install 'vagrant'
6+
jlenv_user_install 'vagrant'
77

8-
rbenv_system_install 'system'
8+
jlenv_system_install 'system'
99

10-
rbenv_ruby version do
11-
install_ruby_build false
10+
jlenv_julia version do
11+
install_julia_build false
1212
user 'vagrant'
1313
end
1414

15-
rbenv_global version do
15+
jlenv_global version do
1616
user 'vagrant'
1717
end
1818

19-
rbenv_plugin 'ruby-build' do
20-
git_url 'https://github.com/rbenv/ruby-build.git'
19+
jlenv_plugin 'julia-build' do
20+
git_url 'https://github.com/HiroakiMikami/julia-build.git'
2121
user 'vagrant'
2222
end
2323

2424
# This should get installed to the system_install
25-
rbenv_plugin 'user-gems' do
26-
git_url '[email protected]:mislav/rbenv-user-gems.git'
27-
git_ref 'v1.0.1'
25+
jlenv_plugin 'julia-build' do
26+
git_url '[email protected]:HiroakiMikami/julia-build.git'
27+
git_ref 'bb86c68'
2828
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
rbenv_rehash 'defaultness'
1+
jlenv_rehash 'defaultness'
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Install Rbenv to the system path e.g. /usr/local/rbenv
2-
rbenv_system_install 'system' do
3-
update_rbenv false
1+
# Install Jlenv to the system path e.g. /usr/local/jlenv
2+
jlenv_system_install 'system' do
3+
update_jlenv false
44
end

0 commit comments

Comments
 (0)