Sebastian Kippe 0005f9ab7d
Add golang cookbook
Needs updating of ark and git cookbooks
2020-08-23 11:01:05 +02:00

16 lines
388 B
Ruby

#
# 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'] = []