Skip to content

Jinja variable 'config' is undefined #224

@bluemalkin

Description

@bluemalkin

Hi,

I ran a state apply on this formula, docker dependencies got updated:

          ID: docker-package-dependencies
    Function: pkg.installed
      Result: True
     Comment: The following packages were installed/updated: python3-pip
              The following packages were already installed: apt-transport-https, python3-apt

However it errors out with:

----------
          ID: docker-config
    Function: file.managed
        Name: /etc/default/docker
      Result: False
     Comment: Unable to manage file: Jinja variable 'config' is undefined
     Started: 05:20:04.208177
    Duration: 149.465 ms
     Changes:
----------
          ID: docker-service
    Function: service.running
        Name: docker
      Result: False
     Comment: One or more requisite failed: docker.install.docker-config
     Started: 05:20:04.359830
    Duration: 0.022 ms
     Changes:

Looking at the source code I cannot see anywhere where config is defined.

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