Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 0102d7c

Browse files
Change nfsiostat source to url to ensure it is cached (#457)
* Change git source to url to ensure it is cached * Apply suggestions from code review Co-authored-by: Kylian Serrania <kylian.serrania@datadoghq.com> * Change default version --------- Co-authored-by: Kylian Serrania <kylian.serrania@datadoghq.com>
1 parent a8a011f commit 0102d7c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

config/software/nfsiostat.rb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@
1616
#
1717

1818
name "nfsiostat"
19-
default_version "nfs-utils-2-1-1"
19+
default_version "2.1.1"
2020

21-
source git: "git://git.linux-nfs.org/projects/steved/nfs-utils.git"
21+
source url: "https://mirrors.edge.kernel.org/pub/linux/utils/nfs-utils/#{version}/nfs-utils-#{version}.tar.gz",
22+
sha256: "381bb3f6aa4b314538db0bcfb242da855c2eb36e2059cf61aa498c0220684363",
23+
extract: :seven_zip
2224

23-
relative_path "nfs-utils"
25+
relative_path "nfs-utils-#{version}"
2426

2527
build do
2628
license "GPL-2.0"

0 commit comments

Comments
 (0)