Move golang installation to own recipe
Needed by more than one in the bitcoin cookbook now.
This commit is contained in:
parent
13ae913668
commit
d9bb257f99
13
site-cookbooks/kosmos-bitcoin/recipes/golang.rb
Normal file
13
site-cookbooks/kosmos-bitcoin/recipes/golang.rb
Normal file
@ -0,0 +1,13 @@
|
||||
#
|
||||
# Cookbook:: kosmos-bitcoin
|
||||
# Recipe:: boltz
|
||||
#
|
||||
# Internal recipe for managing the Go installation in one place
|
||||
#
|
||||
|
||||
node.override['golang']['version'] = "1.17.4"
|
||||
include_recipe "golang"
|
||||
|
||||
link '/usr/local/bin/go' do
|
||||
to '/usr/local/go/bin/go'
|
||||
end
|
@ -4,9 +4,7 @@
|
||||
#
|
||||
|
||||
include_recipe "git"
|
||||
|
||||
node.override['golang']['version'] = "1.17.4"
|
||||
include_recipe "golang"
|
||||
include_recipe "kosmos-bitcoin::golang"
|
||||
|
||||
git node['lnd']['source_dir'] do
|
||||
repository node['lnd']['repo']
|
||||
|
Loading…
x
Reference in New Issue
Block a user