You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/23 15:30:04 UTC

[jira] [Commented] (BIGTOP-2774) gradlew toolchain does not work on Ubuntu 16.04.2/Puppet 3.8.5

    [ https://issues.apache.org/jira/browse/BIGTOP-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16021329#comment-16021329 ] 

ASF GitHub Bot commented on BIGTOP-2774:
----------------------------------------

GitHub user sekikn opened a pull request:

    https://github.com/apache/bigtop/pull/214

    BIGTOP-2774. gradlew toolchain does not work on Ubuntu 16.04.2/Puppet 3.8.5

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sekikn/bigtop BIGTOP-2774

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/bigtop/pull/214.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #214
    
----
commit 69b1c6361260aa857e5e736d81d550c643916251
Author: Kengo Seki <se...@apache.org>
Date:   2017-05-23T15:27:37Z

    BIGTOP-2774. gradlew toolchain does not work on Ubuntu 16.04.2/Puppet 3.8.5

----


> gradlew toolchain does not work on Ubuntu 16.04.2/Puppet 3.8.5
> --------------------------------------------------------------
>
>                 Key: BIGTOP-2774
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2774
>             Project: Bigtop
>          Issue Type: Bug
>          Components: toolchain
>    Affects Versions: 1.2.0
>         Environment: Ubuntu 16.04.2, Puppet 3.8.5
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>
> After installing devtools and puppetmodules, I ran {{gradlew toolchain}} on newly installed machine and got the following error:
> {code}
> $ ./gradlew toolchain
> (snip)
> Error: Syntax error at 'Hash'; expected ')' at /etc/puppet/modules/apt/manifests/init.pp:6 on node ubuntu
> Error: Syntax error at 'Hash'; expected ')' at /etc/puppet/modules/apt/manifests/init.pp:6 on node ubuntu
> :toolchain FAILED
> {code}
> This is solved by adding {{--parser future}} option to {{puppet apply}} command, but another error also occurred:
> {code}
> Error: Evaluation Error: Error while evaluating a Function Call, Must pass update_defaults to Class[Apt] at /home/sekikn/bigtop/bigtop_toolchain/manifests/jdk.pp:29:7 on node ubuntu
> Error: Evaluation Error: Error while evaluating a Function Call, Must pass update_defaults to Class[Apt] at /home/sekikn/bigtop/bigtop_toolchain/manifests/jdk.pp:29:7 on node ubuntu
> {code}
> It seems to be caused by puppetlabs-apt 3.0.0 and 4.0.0, which are recently released. Actually, [their changelog|https://forge.puppet.com/puppetlabs/apt/changelog] says as follows:
> bq. If you're still running Puppet 3, remain on the latest puppetlabs-apt 2.x release for now, and see the documentation to upgrade to Puppet 4.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)