Pass in --no-tty to apt-key
authorEwoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
Wed, 14 Nov 2018 16:13:48 +0000 (17:13 +0100)
committerEwoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
Wed, 14 Nov 2018 16:13:48 +0000 (17:13 +0100)
commitc84e842467742f31fba17f243d4c75f9edbc14a9
treeb1edaae08c1f84e846381daa76decd1e08419782
parentca864b37fd363e7ed1c245f59a7dcb4aca5aabd0
Pass in --no-tty to apt-key

On modern Debian(-based) distros this is needed for gpg to function when
no TTY is available. Since Puppet often runs from cron or a daemon, this
is often the case.
lib/puppet/provider/apt_key/apt_key.rb
spec/acceptance/apt_key_provider_spec.rb