You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the wanted so that I only get the core docker installed. I do not want docker-compose, since there is a dependency in that package on a library that breaks docker login. I configure the pillar to only install docker. It fails to render when I change the defaults in the pillar data.
salt minion1 state.apply docker
minion1:
Data failed to compile:
----------
Rendering SLS 'base:docker.compose.software.binary.install' failed: Jinja variable 'dict object' has no attribute 'path'
Steps to reproduce the bug
Enable this repo through gitfs
Set the following pillar data on the target minion:
docker:
wanted:
- docker
Try to apply the state with: state.apply docker
Expected behaviour
I would expect the core docker components to be installed and it would skip the docker compose install state. And I would be able to run containers and commands as expected eg docker ps -a.
Attempts to fix the bug
I have tried to also set supported to docker only and no luck, same error:
docker:
wanted:
- docker
supported:
- docker
Additional context
The defaults work, so if I do not set the wanted or supported values then it works but installs docker-compose as expected.
The text was updated successfully, but these errors were encountered:
Your setup
Formula commit hash / release tag
Tag: v2.0.7
Versions reports (master & minion)
master version
minion version
Pillar / config used
Pillar data
Bug details
Describe the bug
I am trying to use the wanted so that I only get the core docker installed. I do not want docker-compose, since there is a dependency in that package on a library that breaks docker login. I configure the pillar to only install docker. It fails to render when I change the defaults in the pillar data.
Steps to reproduce the bug
state.apply docker
Expected behaviour
I would expect the core docker components to be installed and it would skip the docker compose install state. And I would be able to run containers and commands as expected eg
docker ps -a
.Attempts to fix the bug
I have tried to also set supported to docker only and no luck, same error:
Additional context
The defaults work, so if I do not set the wanted or supported values then it works but installs docker-compose as expected.
The text was updated successfully, but these errors were encountered: