File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 56
56
57
57
$docker_compose_location = " ${install_path} /${symlink_name}${file_extension} "
58
58
$docker_compose_location_versioned = " ${install_path} /docker-compose-${version}${file_extension} "
59
+ $docker_plugins_path = ' /usr/local/lib/docker/cli-plugins'
59
60
60
61
if $ensure == ' present' {
61
62
if $raw_url != undef {
101
102
ensure => directory ,
102
103
}
103
104
104
- file { '/usr/local/lib/docker/cli-plugins' :
105
+ file { $docker_plugins_path :
105
106
ensure => directory ,
106
107
require => File [' /usr/local/lib/docker' ],
107
108
}
119
120
require => File [$docker_compose_location_versioned ],
120
121
}
121
122
122
- file { '/usr/local/lib/ docker/cli-plugins/docker- compose' :
123
+ file { "${docker_plugins_path}/ docker- compose" :
123
124
ensure => ' link' ,
124
125
target => $docker_compose_location_versioned ,
125
- require => File [' /usr/local/lib/docker/cli-plugins ' ],
126
+ require => File [$docker_plugins_path ],
126
127
}
127
128
}
128
129
} else {
You can’t perform that action at this time.
0 commit comments