You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Kengo Seki (JIRA)" <ji...@apache.org> on 2017/05/24 01:42:04 UTC
[jira] [Resolved] (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:all-tabpanel ]
Kengo Seki resolved BIGTOP-2774.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.2.1
Thanks for the comment and review [~asl] [~cos] [~evans_ye]. I think we can remove version checking in puppet-modules.pp once we've totally moved to puppet 4.
Committed and pushed to the master.
> 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
> Fix For: 1.2.1
>
>
> 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)