File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 5656
5757 $docker_compose_location = " ${install_path} /${symlink_name}${file_extension} "
5858 $docker_compose_location_versioned = " ${install_path} /docker-compose-${version}${file_extension} "
59+ $docker_plugins_path = ' /usr/local/lib/docker/cli-plugins'
5960
6061 if $ensure == ' present' {
6162 if $raw_url != undef {
101102 ensure => directory ,
102103 }
103104
104- file { '/usr/local/lib/docker/cli-plugins' :
105+ file { $docker_plugins_path :
105106 ensure => directory ,
106107 require => File [' /usr/local/lib/docker' ],
107108 }
119120 require => File [$docker_compose_location_versioned ],
120121 }
121122
122- file { '/usr/local/lib/ docker/cli-plugins/docker- compose' :
123+ file { "${docker_plugins_path}/ docker- compose" :
123124 ensure => ' link' ,
124125 target => $docker_compose_location_versioned ,
125- require => File [' /usr/local/lib/docker/cli-plugins ' ],
126+ require => File [$docker_plugins_path ],
126127 }
127128 }
128129 } else {
You can’t perform that action at this time.
0 commit comments