Skip to content

Commit 09709ee

Browse files
Merge pull request #210 from puppetlabs/CONT-953-Fix_bad_include_method
(CONT-953) Fix bad include method
2 parents 53ccc8e + e102756 commit 09709ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/docker_exp.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ def provision(docker_platform, inventory_location, vars)
2121
end
2222

2323
docker_run_opts += ' --volume /sys/fs/cgroup:/sys/fs/cgroup:rw' if (docker_platform =~ %r{debian|ubuntu}) \
24-
&& !docker_run_opts.include('--volume /sys/fs/cgroup:/sys/fs/cgroup')
24+
&& !docker_run_opts.include?('--volume /sys/fs/cgroup:/sys/fs/cgroup')
2525
docker_run_opts += ' --cgroupns=host' if (docker_platform =~ %r{debian|ubuntu}) \
26-
&& !docker_run_opts.include('--cgroupns')
26+
&& !docker_run_opts.include?('--cgroupns')
2727

2828
creation_command = "docker run -d -it --privileged #{docker_run_opts} #{docker_platform}"
2929
container_id = run_local_command(creation_command).strip[0..11]

0 commit comments

Comments
 (0)