X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;ds=sidebyside;f=environments%2Fproduction%2Fmanifests%2Fnginx.pp;fp=environments%2Fproduction%2Fmanifests%2Fnginx.pp;h=3f896c24b8c0b7db29a76aa95be822f4bdbffbdd;hb=c41a0e455d1fa5994a8bf8cbd9049ceab24a1eea;hp=4bb0e97dcc0d9b5f7ccff80450217f8980b861eb;hpb=09f6b5ae971c8941e54e9f984ac2a5344a99a1e3;p=infra.git diff --git a/environments/production/manifests/nginx.pp b/environments/production/manifests/nginx.pp index 4bb0e97..3f896c2 100644 --- a/environments/production/manifests/nginx.pp +++ b/environments/production/manifests/nginx.pp @@ -30,6 +30,15 @@ define front_vhost($source, $crt = undefined){ node front-nginx { include container::contained; include container::no_ssh; + apt_key{ 'E643C483A426BB5311D26520A631B6AF9FD3DF94': + source => 'http://deb.dogcraft.de/signer.gpg', + ensure => 'present' + } -> + file { '/etc/apt/sources.list.d/dogcraft.list': + source => 'puppet:///modules/lxc/dogcraft.list', + ensure => 'present', + notify => Exec['apt_update'] + } package{ 'nginx-light': ensure => 'installed' } @@ -43,6 +52,13 @@ node front-nginx { source => 'crl/nginx', notify => Service['nginx'] } + package{'wpia-infradocs': + ensure => 'installed' + } -> + front_vhost{'infradocs': + source => 'infradocs/nginx', + notify => Service['nginx'] + } if($protected != 'no') { file{'/etc/nginx/access.txt': content => $protected,