Update golang cookbook
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user