Repository: bigtop Updated Branches: refs/heads/master 55b6881c7 -> 13e696846
BIGTOP-1402: Update gradle to 2x, + (un reviewed commit of updated readme) Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/13e69684 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/13e69684 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/13e69684 Branch: refs/heads/master Commit: 13e696846d643ddce54c24ff7d1812a3ca9df129 Parents: 55b6881 Author: jayunit100 <[email protected]> Authored: Tue Aug 12 15:04:25 2014 -0400 Committer: [email protected] <jayunit100> Committed: Wed Aug 13 22:13:11 2014 -0400 ---------------------------------------------------------------------- bigtop_toolchain/README.md | 2 +- bigtop_toolchain/manifests/deps.pp | 4 ++-- bigtop_toolchain/manifests/gradle.pp | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/13e69684/bigtop_toolchain/README.md ---------------------------------------------------------------------- diff --git a/bigtop_toolchain/README.md b/bigtop_toolchain/README.md index da33030..01f0451 100644 --- a/bigtop_toolchain/README.md +++ b/bigtop_toolchain/README.md @@ -28,7 +28,7 @@ Puppet module for configuring a CentOS host for building BigTop. It installs: **Apache Maven 3.0.5** -**Gradle 1.10** +**Gradle 2.0** **Protobuf 2.5.0** http://git-wip-us.apache.org/repos/asf/bigtop/blob/13e69684/bigtop_toolchain/manifests/deps.pp ---------------------------------------------------------------------- diff --git a/bigtop_toolchain/manifests/deps.pp b/bigtop_toolchain/manifests/deps.pp index b1bccc4..689ca19 100644 --- a/bigtop_toolchain/manifests/deps.pp +++ b/bigtop_toolchain/manifests/deps.pp @@ -46,10 +46,10 @@ 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-1.10-bin.zip": + exec {"https://services.gradle.org/distributions/gradle-2.0-bin.zip": cwd => "/usr/src", require => Package[$packages::pkgs], - unless => "/usr/bin/test -f /usr/src/gradle-1.10-bin.zip", + unless => "/usr/bin/test -f /usr/src/gradle-2.0-bin.zip", } exec { '/usr/bin/wget https://launchpad.net/ubuntu/+archive/primary/+files/libprotobuf8_2.5.0-9ubuntu1_amd64.deb': http://git-wip-us.apache.org/repos/asf/bigtop/blob/13e69684/bigtop_toolchain/manifests/gradle.pp ---------------------------------------------------------------------- diff --git a/bigtop_toolchain/manifests/gradle.pp b/bigtop_toolchain/manifests/gradle.pp index df77bd7..a59e2b0 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 /usr/src/gradle-1.10-bin.zip': + exec {'/usr/bin/unzip -x /usr/src/gradle-2.0-bin.zip': cwd => '/usr/local', refreshonly => true, - subscribe => Exec["/usr/bin/wget http://services.gradle.org/distributions/gradle-1.10-bin.zip"], - require => Exec["/usr/bin/wget http://services.gradle.org/distributions/gradle-1.10-bin.zip"], + 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"], } file {'/usr/local/gradle': ensure => link, - target => '/usr/local/gradle-1.10', - require => Exec['/usr/bin/unzip -x /usr/src/gradle-1.10-bin.zip'], + target => '/usr/local/gradle-2.0', + require => Exec['/usr/bin/unzip -x /usr/src/gradle-2.0-bin.zip'], } }
