Skip to content

Commit ad87060

Browse files
committed
Use puppet yaml helper to workaround psych >4 breaking changes regarding positional arguments
1 parent 781f4f2 commit ad87060

File tree

1 file changed

+1
-1
lines changed
  • lib/puppet/provider/docker_compose

1 file changed

+1
-1
lines changed

Diff for: lib/puppet/provider/docker_compose/ruby.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def exists?
2828

2929
# get merged config using docker-compose config
3030
args = [compose_files, '-p', name, 'config'].insert(3, resource[:options]).compact
31-
compose_output = YAML.safe_load(execute([command(:dockercompose)] + args, combine: false), [Symbol])
31+
compose_output = Puppet::Util::Yaml.safe_load(execute([command(:dockercompose)] + args, combine: false), [Symbol])
3232

3333
containers = docker([
3434
'ps',

0 commit comments

Comments
 (0)