Skip to content

Commit

Permalink
Update manifests/init.pp
Browse files Browse the repository at this point in the history
Co-authored-by: Christoph Maser <[email protected]>
  • Loading branch information
andrei693 and TheMeier authored Apr 18, 2024
1 parent 68cf5fb commit bc7f500
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@
ensure => $package_ensure,
}

$ensure_status = $enable ? {
0 => absent,
1 => present,
default => present
}
$ensure_status = $enable ? { 0 => 'absent', default => 'present' }

Check failure on line 54 in manifests/init.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

two-space soft tabs not used (check: 2sp_soft_tabs)

Check warning on line 54 in manifests/init.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indent should be 2 chars and is 3 (check: strict_indent)
apt::conf { 'unattended-upgrades':
ensure => $ensure_status,
priority => 50,
Expand Down

0 comments on commit bc7f500

Please sign in to comment.