Skip to content

haproxy.pp stateless_acme_challenge.lua may not be created in certain cases #312

@NVitanovic

Description

@NVitanovic

Because execution of /usr/bin/acmetool quickstart --batch fails

[CRITICAL] acmetool: fatal: couldn't complete registration: cannot prompt the user: currently non-interactive

/usr/bin/update_acmetool_challenge_script.sh does not run thus the /usr/lib/stateless_acme_challenge.lua script is not created resulting in a broken haproxy configuration which results in service not being able to start.

exec { 'acmetool-quickstart':
    refreshonly => true,
    command     => '/usr/bin/acmetool quickstart --batch && /usr/bin/update_acmetool_challenge_script.sh',
    notify      => File['/etc/haproxy/haproxy.cfg'],
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions