Skip to content

Commit a3bd692

Browse files
visheyraramereth
authored andcommitted
fix packages installation
1 parent 7fd2657 commit a3bd692

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@ This file is used to list changes made in each version of golang.
44

55
## Unreleased
66

7+
- Use go install rather than go get to install packages through node attributes
8+
79
## 5.4.0 - *2022-08-08*
810

911
- Use `node['golang']['install_dir']` attribute in default recipe.
1012
- Fix source installation issues
1113

1214
## 5.3.3 - *2022-08-07*
1315

14-
Standardise files with files in sous-chefs/repo-management
16+
- Standardise files with files in sous-chefs/repo-management
1517

1618
## 5.3.2 - *2022-02-09*
1719

resources/package.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
gocache = '/tmp/go'
2525

2626
action :install do
27-
execute "go get #{new_resource.name}" do
27+
execute "go install #{new_resource.name}" do
2828
user node['golang']['owner']
2929
group node['golang']['group']
3030
environment({

0 commit comments

Comments
 (0)