Add golang cookbook
Needs updating of ark and git cookbooks
This commit is contained in:
15
cookbooks/golang/attributes/default.rb
Normal file
15
cookbooks/golang/attributes/default.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
#
|
||||
# Cookbook:: golang
|
||||
# Attribute:: default
|
||||
#
|
||||
|
||||
default['golang']['scm'] = true
|
||||
default['golang']['scm_packages'] = value_for_platform(
|
||||
'centos' => { '>= 8' => %w(git mercurial) },
|
||||
'default' => %w(git mercurial bzr)
|
||||
)
|
||||
|
||||
default['golang']['install_dir'] = '/usr/local'
|
||||
default['golang']['gopath'] = '/opt/go'
|
||||
default['golang']['gobin'] = '/opt/go/bin'
|
||||
default['golang']['packages'] = []
|
||||
Reference in New Issue
Block a user