File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 30
30
$onlyif_cmd = [[' /usr/bin/dpkg' , ' -l' , $title ]]
31
31
$command = [' /usr/bin/apt-mark' , $setting , $title ]
32
32
33
- exec { " apt-mark ${ setting} ${ title}" :
33
+ exec { [ ' apt-mark' , $ setting, $ title] :
34
34
command => $command ,
35
35
onlyif => $onlyif_cmd ,
36
36
unless => $unless_cmd ,
Original file line number Diff line number Diff line change 105
105
mode => ' 0755' ,
106
106
}
107
107
108
- exec { " add-apt-repository-${ name}" :
108
+ exec { [ ' add-apt-repository-' , $ name] :
109
109
environment => $_proxy_env,
110
110
command => $script_path ,
111
111
logoutput => ' on_failure' ,
Original file line number Diff line number Diff line change 56
56
} else {
57
57
$_refresh = true
58
58
}
59
+ $command = [$apt::provider , ' update' ]
59
60
exec { 'apt_update' :
60
- command => " ${apt::provider} update " ,
61
+ command => $command ,
61
62
loglevel => $apt::_update [' loglevel' ],
62
63
logoutput => ' on_failure' ,
63
64
refreshonly => $_refresh,
You can’t perform that action at this time.
0 commit comments