You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Kengo Seki (JIRA)" <ji...@apache.org> on 2017/05/23 15:27:04 UTC
[jira] [Created] (BIGTOP-2774) gradlew toolchain does not work on
Ubuntu 16.04.2/Puppet 3.8.5
Kengo Seki created BIGTOP-2774:
----------------------------------
Summary: 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)