Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker::plugin should implecitly require Docker class #890

Open
hbenali opened this issue Jan 18, 2023 · 0 comments
Open

docker::plugin should implecitly require Docker class #890

hbenali opened this issue Jan 18, 2023 · 0 comments

Comments

@hbenali
Copy link

hbenali commented Jan 18, 2023

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 version 6.0.2)
  • Platform Ubuntu 22.04 (5.x)

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants