php certs

This commit is contained in:
Z. Cliffe Schreuders
2022-04-27 11:21:09 +01:00
parent 41770916f5
commit 97f267f00c

View File

@@ -1,9 +1,10 @@
class php::install {
ensure_packages('apt-transport-https')
ensure_packages('ca-certificates', { ensure => 'latest'})
ensure_packages('apt-transport-https', { ensure => 'latest'})
exec { 'install php5 gpg key':
command => '/usr/bin/wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg',
command => '/usr/bin/wget --no-check-certificate -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg',
} ->
exec { 'add repo to sources':