Actually make it possible to use apt_key
The provider wasn't updated for a parameter rename.
This commit is contained in:
parent
4fa28203b9
commit
c7354b90fb
2 changed files with 3 additions and 3 deletions
|
@ -149,8 +149,8 @@ Puppet::Type.type(:apt_key).provide(:apt_key) do
|
||||||
# Breaking up the command like this is needed because it blows up
|
# Breaking up the command like this is needed because it blows up
|
||||||
# if --recv-keys isn't the last argument.
|
# if --recv-keys isn't the last argument.
|
||||||
command.push('adv', '--keyserver', resource[:server])
|
command.push('adv', '--keyserver', resource[:server])
|
||||||
unless resource[:keyserver_options].nil?
|
unless resource[:options].nil?
|
||||||
command.push('--keyserver-options', resource[:keyserver_options])
|
command.push('--keyserver-options', resource[:options])
|
||||||
end
|
end
|
||||||
command.push('--recv-keys', resource[:id])
|
command.push('--recv-keys', resource[:id])
|
||||||
elsif resource[:content]
|
elsif resource[:content]
|
||||||
|
|
Loading…
Reference in a new issue