Details
Description
After installing devtools and puppetmodules, I ran gradlew toolchain on newly installed machine and got the following error:
$ ./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
This is solved by adding --parser future option to puppet apply command, but another error also occurred:
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
It seems to be caused by puppetlabs-apt 3.0.0 and 4.0.0, which are recently released. Actually, their changelog says as follows:
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.
Attachments
Issue Links
- Blocked
-
BIGTOP-2849 Cannot build bigtop/slaves-ubuntu-16.04 with fresh built puppet image
- Resolved
- links to