if new_resource.key
execute "apt-key-#{new_resource.key}" do
command "/usr/bin/apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys #{new_resource.key}"
if new_resource.key
execute "apt-key-#{new_resource.key}" do
command "/usr/bin/apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys #{new_resource.key}"