Fix "WARNING: case statement without a default case on line ..."
This commit is contained in:
parent
fb9b9185e4
commit
15fad7ec11
1 changed files with 6 additions and 6 deletions
|
@ -28,12 +28,12 @@ define apt::force(
|
|||
'new': { $config_files = '-o Dpkg::Options::="--force-confnew"' }
|
||||
'old': { $config_files = '-o Dpkg::Options::="--force-confold"' }
|
||||
'unchanged': { $config_files = '-o Dpkg::Options::="--force-confdef"' }
|
||||
'none': { $config_files = '' }
|
||||
'none', default: { $config_files = '' }
|
||||
}
|
||||
|
||||
case $cfg_missing {
|
||||
true: { $config_missing = '-o Dpkg::Options::="--force-confmiss"' }
|
||||
false: { $config_missing = '' }
|
||||
false, default: { $config_missing = '' }
|
||||
}
|
||||
|
||||
if $version == false {
|
||||
|
|
Loading…
Reference in a new issue