Update golang cookbook

This commit is contained in:
2021-12-04 19:57:19 -06:00
parent a8948053d6
commit bbef38b6d6
130 changed files with 3548 additions and 1795 deletions

View File

@@ -2,7 +2,7 @@
# Cookbook:: golang
# Resource:: default
#
# Copyright:: 2020, Sous-chefs
# Copyright:: 2020-2021, Sous-chefs
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
@@ -17,6 +17,8 @@
# under the License.
#
unified_mode true
# Install golang by compiling from source
property :from_source, [true, false], default: false
@@ -99,7 +101,7 @@ action :install do
source 'golang.sh.erb'
mode new_resource.directory_mode
variables gobin: new_resource.gobin,
gopath: new_resource.gobin,
gopath: new_resource.gopath,
install_dir: new_resource.install_dir
end