X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=environments%2Fproduction%2Fmanifests%2Fquiz.pp;h=240d99810f3c1757b6a77fa0781503c9a6b781bf;hb=95266f6237df2334741f3ce60050618259452ed4;hp=5d5e3a0804f4fd21da29c4d6ba22d1808b4539b3;hpb=3c32a024106395e61b34bdc5064083c65fafec35;p=infra.git diff --git a/environments/production/manifests/quiz.pp b/environments/production/manifests/quiz.pp index 5d5e3a0..240d998 100644 --- a/environments/production/manifests/quiz.pp +++ b/environments/production/manifests/quiz.pp @@ -1,6 +1,6 @@ define teracara_quiz (){ apt_key{ 'E643C483A426BB5311D26520A631B6AF9FD3DF94': - source => 'http://deb.dogcraft.de/signer.gpg', + source => 'http://deb2.dogcraft.de/signer.gpg', ensure => 'present' } -> file { '/etc/apt/sources.list.d/dogcraft.list': @@ -51,6 +51,11 @@ define teracara_quiz (){ require => [Package['teracara-quiz'], Class['postgresql::client']], before => File['/etc/apache2/sites-available/000-default.conf'] } + package{'php-pgsql': + ensure => 'installed', + before => File['/etc/apache2/sites-available/000-default.conf'], + notify => Service['apache2'], + } file {'/etc/apache2/sites-available/000-default.conf': require => Package['apache2'], ensure => 'file',