Skip to content
Snippets Groups Projects
Commit cc786810 authored by drebs's avatar drebs
Browse files

Avoid catalog compilation error because of augeas

When augeas-tools is not installed, catalog compilation fails with the
following error:

    Error: Could not call 'find' on 'catalog': Error 500 on SERVER:
    Server Error: Evaluation Error: Error while evaluating a Resource
    Statement, Evaluation Error: Error while evaluating a Function Call,
    'versioncmp' parameter 'a' expects a String value, got Undef (file:
    /etc/puppet/code/environments/production/modules/augeas/manifests/lens.pp,
    line: 61, column: 24)
parent 7eec7c75
No related branches found
No related tags found
1 merge request!1Avoid catalog compilation error because of augeas
Pipeline #86184 passed
......@@ -2,7 +2,7 @@ FROM debian:bullseye
HEALTHCHECK --interval=10s --timeout=15s --retries=12 --start-period=3m CMD ["/usr/bin/curl", "-k", "-I", "https://127.0.0.1:8140"]
RUN apt-get update -qq && apt install -y git puppet-master curl
RUN apt-get update -qq && apt install -y git puppet-master curl augeas-tools
RUN puppet config set autosign "true" --section master
COPY entrypoint.sh /
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment