Kengo Seki created BIGTOP-4064:
----------------------------------
Summary: Fix Bigtop toolchain to work with Puppet 3.x
Key: BIGTOP-4064
URL: https://issues.apache.org/jira/browse/BIGTOP-4064
Project: Bigtop
Issue Type: Bug
Components: toolchain
Reporter: Kengo Seki
After merging BIGTOP-3991, building the CentOS 7 image fails as follows.
{code:java}
$ ./gradlew -POS=centos-7 bigtop-slaves
...
15.64 Error: Syntax error at '/'; expected ')' at
/etc/puppet/modules/bigtop_toolchain/manifests/packages.pp:73 on node
buildkitsandbox.flets-east.jp
15.64 Error: Syntax error at '/'; expected ')' at
/etc/puppet/modules/bigtop_toolchain/manifests/packages.pp:73 on node
buildkitsandbox.flets-east.jp
------
Dockerfile:22
--------------------
21 |
22 | >>> RUN if [ -f ~/.bash_profile ]; then . ~/.bash_profile; fi && \
23 | >>> yum clean all && yum updateinfo && \
24 | >>> puppet apply -e "include bigtop_toolchain::installer" || if [ $?
-ne 2 ]; then exit 1; fi
25 | COPY . /tmp/bigtop
--------------------
ERROR: failed to solve: process "/bin/sh -c if [ -f ~/.bash_profile ]; then .
~/.bash_profile; fi && yum clean all && yum updateinfo && puppet apply
-e \"include bigtop_toolchain::installer\" || if [ $? -ne 2 ]; then exit 1; fi"
did not complete successfully: exit code: 1
> Task :bigtop-slaves FAILED
FAILURE: Build failed with an exception.
{code}
I think the "in" operator and the "Integer" method introduced in that issue are
not supported yet by Puppet 3.6, which is used in CentOS 7. [~seys]
[~iwasakims] Would you fix it?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)