aboutsummaryrefslogtreecommitdiff
path: root/bigtop_toolchain
diff options
context:
space:
mode:
authorKonstantin Boudnik <cos@apache.org>2015-09-14 12:50:19 -0700
committerYoungwoo Kim <ywkim@apache.org>2015-09-15 09:25:22 +0900
commitbe796c98323573c7a3dff84a0a5115490c966a0f (patch)
tree4b34fd4d5ef91246acf822c2f1109e026df444e1 /bigtop_toolchain
parent8eef76a7384d1bb4a70975302aaf231663506e07 (diff)
downloadbigtop-odpi-be796c98323573c7a3dff84a0a5115490c966a0f.tar.gz
BIGTOP-2027. Bump gradle version, the wrapper to 2.7
Signed-off-by: Youngwoo Kim <ywkim@apache.org>
Diffstat (limited to 'bigtop_toolchain')
-rw-r--r--bigtop_toolchain/manifests/deps.pp6
-rw-r--r--bigtop_toolchain/manifests/gradle.pp16
2 files changed, 11 insertions, 11 deletions
diff --git a/bigtop_toolchain/manifests/deps.pp b/bigtop_toolchain/manifests/deps.pp
index c52d8ef9..9ec2c20b 100644
--- a/bigtop_toolchain/manifests/deps.pp
+++ b/bigtop_toolchain/manifests/deps.pp
@@ -29,10 +29,4 @@ class bigtop_toolchain::deps {
require => Package[$packages::pkgs],
unless => "/usr/bin/test -f /usr/src/apache-maven-3.3.3-bin.tar.gz",
}
-
- exec {"/usr/bin/wget http://services.gradle.org/distributions/gradle-2.4-bin.zip":
- cwd => "/usr/src",
- require => Package[$packages::pkgs],
- unless => "/usr/bin/test -f /usr/src/gradle-2.4-bin.zip",
- }
}
diff --git a/bigtop_toolchain/manifests/gradle.pp b/bigtop_toolchain/manifests/gradle.pp
index 2c0081f3..70be36e7 100644
--- a/bigtop_toolchain/manifests/gradle.pp
+++ b/bigtop_toolchain/manifests/gradle.pp
@@ -17,16 +17,22 @@ class bigtop_toolchain::gradle {
include bigtop_toolchain::deps
- exec {'/usr/bin/unzip -x -o /usr/src/gradle-2.4-bin.zip':
+ exec {"/usr/bin/wget http://services.gradle.org/distributions/gradle-2.7-bin.zip":
+ cwd => "/usr/src",
+ require => Package[$packages::pkgs],
+ unless => "/usr/bin/test -f /usr/src/gradle-2.7-bin.zip",
+ }
+
+ exec {'/usr/bin/unzip -x -o /usr/src/gradle-2.7-bin.zip':
cwd => '/usr/local',
refreshonly => true,
- subscribe => Exec["/usr/bin/wget http://services.gradle.org/distributions/gradle-2.4-bin.zip"],
- require => Exec["/usr/bin/wget http://services.gradle.org/distributions/gradle-2.4-bin.zip"],
+ subscribe => Exec["/usr/bin/wget http://services.gradle.org/distributions/gradle-2.7-bin.zip"],
+ require => Exec["/usr/bin/wget http://services.gradle.org/distributions/gradle-2.7-bin.zip"],
}
file {'/usr/local/gradle':
ensure => link,
- target => '/usr/local/gradle-2.4',
- require => Exec['/usr/bin/unzip -x -o /usr/src/gradle-2.4-bin.zip'],
+ target => '/usr/local/gradle-2.7',
+ require => Exec['/usr/bin/unzip -x -o /usr/src/gradle-2.7-bin.zip'],
}
}