puppetlabs-docker
puppetlabs-docker copied to clipboard
docker::plugin should implecitly require Docker class
Describe the Bug
When using docker::plugin an error is raised when provisioning a VM for the first time. this instruction is executed without checking whether the Docker class is called or not.
==> XXXX: Error: /Stage[main]/XXXXXXX/Docker::Plugin[XXXXXXXX/file-log-driver:2.0]/Exec[plugin enable XXXXXXXX/file-log-driver:2.0]: Could not evaluate: Could not find command 'docker'
Expected Behavior
docker::plugin should call Docker implicitly Docker class
Steps to Reproduce
Steps to reproduce the behavior:
Include docker::plugin on a puppet class
docker::plugin {'plugin_name':}
Environment
- Puppet Version
7.21(module version6.0.2) - Platform Ubuntu
22.04(5.x)
Thanks!