Skip to content

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
davidphay authored Aug 25, 2023
1 parent e38bede commit 6277484
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions manifests/compose.pp
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@
Enum[present,absent] $ensure = present,
Optional[String] $version = $docker::params::compose_version,
) inherits docker::params {

if $docker::manage_package {
if $version and $ensure != 'absent' {
$package_ensure = $version
} else {
$package_ensure = $ensure
}

case $facts['os']['family'] {
'Debian': {
ensure_packages('docker-compose-plugin', { ensure => $package_ensure, require => defined(bool2str($docker::use_upstream_package_source)) ? { true => Apt::Source['docker'], false => undef } }) #lint:ignore:140chars
Expand Down

0 comments on commit 6277484

Please sign in to comment.