rhizo_base: Require apt-transport-https before apt sources

The package apt-transport-https is required to successfully add some
of the debian repos. This commit moves the package resource
installation into the rhizo_base::apt::debian class instead of the
rhizo_base:📦:debian class to break a dependency cycle that
would otherwise exist if rhizo_base::apt::debian depended on all of
rhizo_base:📦:debian.
This commit is contained in:
Matt Johnson 2019-07-14 23:16:10 -05:00 committed by Keith Whyte
parent f1cc836270
commit 57de111236
2 changed files with 7 additions and 2 deletions

View file

@ -53,7 +53,7 @@ class rhizo_base::packages::debian inherits rhizo_base::packages::common {
package { ['apache2','libapache2-mod-php', 'php', 'php-pgsql',
'php-curl', 'php-cli', 'php-gd', 'php-intl', 'php-gettext',
'sudo', 'apt-transport-https']:
'sudo']:
ensure => installed,
require => Class['rhizo_base::apt'],
}