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'm trying to download multiple tags of the same image, and running into difficulty. As an example, I'm trying to pull various versions of sameersbn/gitlab, so I can do some automation relevant to my deployments.
This gave me the duplicate error mentioned in #364. Then, I followed the advice @garethr left in that post, and I now have:
docker::image { 'gitlab-7.13':
name =>'sameersbn/gitlab',
image_tag =>'7.13.2'
}
docker::image { 'gitlab-7.14':
name =>'sameersbn/gitlab',
image_tag =>'7.14.3'
}
I'm now getting a puppet parsing error: Cannot alias Docker::Image[gitlab-7.14] to ["sameersbn/gitlab"], resource ["Docker::Image", "sameersbn/gitlab"] already declared. Here's the full log output:
==> default: Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Cannot alias Docker::Image[gitlab-7.14] to ["sameersbn/gitlab"] at /tmp/vagrant-puppet/manifests-a11d1078b1b1f2e3bdea27312f6ba513/init.pp:11; resource ["Docker::Image", "sameersbn/gitlab"] already declared at /tmp/vagrant-puppet/manifests-a11d1078b1b1f2e3bdea27312f6ba513/init.pp:6 at /tmp/vagrant-puppet/manifests-a11d1078b1b1f2e3bdea27312f6ba513/init.pp:11 on node gitlab.notrealhostname
==> default: Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Cannot alias Docker::Image[gitlab-7.14] to ["sameersbn/gitlab"] at /tmp/vagrant-puppet/manifests-a11d1078b1b1f2e3bdea27312f6ba513/init.pp:11; resource ["Docker::Image", "sameersbn/gitlab"] already declared at /tmp/vagrant-puppet/manifests-a11d1078b1b1f2e3bdea27312f6ba513/init.pp:6 at /tmp/vagrant-puppet/manifests-a11d1078b1b1f2e3bdea27312f6ba513/init.pp:11 on node gitlab.notrealhostname
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
The text was updated successfully, but these errors were encountered:
Did anyone find a suitable way to do this with the module? I'm trying to pass in a hash to docker::images to pull several tags of the same image/project.
I'm trying to download multiple tags of the same image, and running into difficulty. As an example, I'm trying to pull various versions of sameersbn/gitlab, so I can do some automation relevant to my deployments.
First, I tried:
This gave me the duplicate error mentioned in #364. Then, I followed the advice @garethr left in that post, and I now have:
I'm now getting a puppet parsing error:
Cannot alias Docker::Image[gitlab-7.14] to ["sameersbn/gitlab"], resource ["Docker::Image", "sameersbn/gitlab"] already declared
. Here's the full log output:The text was updated successfully, but these errors were encountered: