aboutsummaryrefslogtreecommitdiff
path: root/bigtop_toolchain
diff options
context:
space:
mode:
authorKonstantin Boudnik <cos@wandisco.com>2015-05-06 17:22:29 -0700
committerEvans Ye <evansye@apache.org>2015-05-07 02:46:01 +0000
commitbc8a256dfdeb5f5dd2a4289dfe408bb63507fbea (patch)
treec098f5e4d86b8306463c880818cbf19e39b1badb /bigtop_toolchain
parent600d0c8686c8105843392e22803a73618b31eedc (diff)
downloadbigtop-odpi-bc8a256dfdeb5f5dd2a4289dfe408bb63507fbea.tar.gz
BIGTOP-1867. Upgrade Gradle version to 2.4
Signed-off-by: Evans Ye <evansye@apache.org>
Diffstat (limited to 'bigtop_toolchain')
-rw-r--r--bigtop_toolchain/manifests/deps.pp4
-rw-r--r--bigtop_toolchain/manifests/gradle.pp10
2 files changed, 7 insertions, 7 deletions
diff --git a/bigtop_toolchain/manifests/deps.pp b/bigtop_toolchain/manifests/deps.pp
index 585cdfd1..2c20a459 100644
--- a/bigtop_toolchain/manifests/deps.pp
+++ b/bigtop_toolchain/manifests/deps.pp
@@ -30,9 +30,9 @@ class bigtop_toolchain::deps {
unless => "/usr/bin/test -f /usr/src/apache-maven-3.0.5-bin.tar.gz",
}
- exec {"/usr/bin/wget http://services.gradle.org/distributions/gradle-2.0-bin.zip":
+ 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.0-bin.zip",
+ 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 16021f80..2c0081f3 100644
--- a/bigtop_toolchain/manifests/gradle.pp
+++ b/bigtop_toolchain/manifests/gradle.pp
@@ -17,16 +17,16 @@ class bigtop_toolchain::gradle {
include bigtop_toolchain::deps
- exec {'/usr/bin/unzip -x -o /usr/src/gradle-2.0-bin.zip':
+ exec {'/usr/bin/unzip -x -o /usr/src/gradle-2.4-bin.zip':
cwd => '/usr/local',
refreshonly => true,
- subscribe => Exec["/usr/bin/wget http://services.gradle.org/distributions/gradle-2.0-bin.zip"],
- require => Exec["/usr/bin/wget http://services.gradle.org/distributions/gradle-2.0-bin.zip"],
+ 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"],
}
file {'/usr/local/gradle':
ensure => link,
- target => '/usr/local/gradle-2.0',
- require => Exec['/usr/bin/unzip -x -o /usr/src/gradle-2.0-bin.zip'],
+ target => '/usr/local/gradle-2.4',
+ require => Exec['/usr/bin/unzip -x -o /usr/src/gradle-2.4-bin.zip'],
}
}