Skip to content

Commit 41e21a1

Browse files
authored
Update compose.pp
1 parent 783892e commit 41e21a1

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

manifests/compose.pp

+15
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,15 @@
9696
creates => $docker_compose_location_versioned,
9797
require => Package['curl'],
9898
}
99+
100+
file { '/usr/local/lib/docker':
101+
ensure => directory,
102+
}
103+
104+
file { '/usr/local/lib/docker/cli-plugins':
105+
ensure => directory,
106+
require => File['/usr/local/lib/docker'],
107+
}
99108

100109
file { $docker_compose_location_versioned:
101110
owner => $file_owner,
@@ -109,6 +118,12 @@
109118
target => $docker_compose_location_versioned,
110119
require => File[$docker_compose_location_versioned],
111120
}
121+
122+
file { '/usr/local/lib/docker/cli-plugins/docker-compose':
123+
ensure => 'link',
124+
target => $docker_compose_location_versioned,
125+
require => File['/usr/local/lib/docker/cli-plugins'],
126+
}
112127
}
113128
} else {
114129
file { $docker_compose_location_versioned:

0 commit comments

Comments
 (0)