X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Frole%2Fmanifests%2Fcryptoportfolio.pp;h=16c2f960a47fabe31604842a65274b4f933b12c3;hb=0a4ec3790f89873bf37a1362a6f7e70b103e9bc2;hp=4b03e1682031ae5b41c6bc30f3b29dafa4606175;hpb=159db2fd0619f93d330bbe9815ece76beca34aba;p=perso%2FImmae%2FProjets%2FPuppet.git diff --git a/modules/role/manifests/cryptoportfolio.pp b/modules/role/manifests/cryptoportfolio.pp index 4b03e16..16c2f96 100644 --- a/modules/role/manifests/cryptoportfolio.pp +++ b/modules/role/manifests/cryptoportfolio.pp @@ -26,5 +26,13 @@ class role::cryptoportfolio { auth_method => 'md5', order => "b0", } + ensure_packages("go") + + class { 'nginx': } + + nginx::resource::server { 'cryptoportfolio.immae.eu': + listen_port => 80, + proxy => 'http://localhost:8000', + } }