puppetlabs-docker
puppetlabs-docker copied to clipboard
docker_run returns no such file or directory - docker
Still working on root causing this. If I try to apply a manifest with docker::run
included (fresh host build) it will error out with no such file or directory - docker
. If I remove just this portion (docker::run
) everything work as expected. I was expecting the relationships (https://github.com/puppetlabs/puppetlabs-docker/blob/main/manifests/init.pp#L635) to let this behave but have not generated a dependency/relation graph from puppet to review yet either.
Ideally one would be able to rebuild a host and not need to temporarily edit or remove a manifest to complete a rebuild.
CentOS 7.9/9.1 Puppet 6.28.0
Found the same issue with Puppet 7 and version 6.x of puppetlabs-docker.
I think it's caused by this line in run.pp: https://github.com/puppetlabs/puppetlabs-docker/blob/65e36c1d77bf5212ca34601d87e32cb75e58b699/manifests/run.pp#L470 which calls https://github.com/puppetlabs/puppetlabs-docker/blob/65e36c1d77bf5212ca34601d87e32cb75e58b699/lib/puppet/functions/docker_params_changed.rb#L80 on the agent.