-
Notifications
You must be signed in to change notification settings - Fork 311
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
Unable to Apply Engine Labels #43
Comments
Fixed and tested in my Fork https://github.com/RXM307/puppetlabs-docker, Please Merge. |
@RXM307 can you please raise a PR for the changes. Thanks in advance |
Pull Request #48 Raised, will raise another issue for the sysconfig issues with some patches |
cegeka-jenkins
pushed a commit
to cegeka/puppet-docker
that referenced
this issue
Apr 17, 2024
cegeka-jenkins
pushed a commit
to cegeka/puppet-docker
that referenced
this issue
Apr 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/modules/docker/templates/etc/sysconfig/docker.systemd.erb
Line: 25
Detail: undefined method `each' for "[owner=blah, myservice=1, role=myrole]":String
at /etc/puppetlabs/code/environments/test/modules/docker/manifests/service.pp:193:18
Similar to $dns should be able to set the docker.systemd.erb template as
<% if @labels %><% @labels_array.each do |label| %> --label <%= label %><% end %><% end -%>
and add the below to service.pp
$labels_array = any2array($labels)
Unless I've missed something?
The text was updated successfully, but these errors were encountered: