We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 360fb57 commit 7f3b8c4Copy full SHA for 7f3b8c4
recipes/setup.rb
@@ -5,6 +5,12 @@
5
# Recipe:: setup
6
#
7
8
+if node['ruby-provider'] != 'fullstaq'
9
+ apt_repository 'fullstaq-ruby' do
10
+ action :remove
11
+ end
12
+end
13
+
14
include_recipe 'apt'
15
include_recipe 'nodejs'
16
@@ -182,14 +188,6 @@
182
188
version '~> 1' unless bundler2_applicable
183
189
end
184
190
else
185
- apt_repository 'fullstaq-ruby' do
186
- action :remove
187
- end
-
- package 'fullstaq-ruby' do
191
192
193
chruby_pgp_key_path = ::File.join(Chef::Config[:file_cache_path], 'chruby.tar.gz.asc')
194
tar_path = ::File.join(Chef::Config[:file_cache_path], 'chruby.tar.gz')
195
postmodern_pgp_key_path = ::File.join(Chef::Config[:file_cache_path], 'postmodern.asc')
0 commit comments