aboutsummaryrefslogtreecommitdiff
path: root/modules/role/manifests/cryptoportfolio.pp
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-02-18 12:20:24 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-02-18 12:20:24 +0100
commit0a4ec3790f89873bf37a1362a6f7e70b103e9bc2 (patch)
treeab12106e0d0e405130f07c40ee44cd6bdc18372d /modules/role/manifests/cryptoportfolio.pp
parent159db2fd0619f93d330bbe9815ece76beca34aba (diff)
downloadPuppet-0a4ec3790f89873bf37a1362a6f7e70b103e9bc2.tar.gz
Puppet-0a4ec3790f89873bf37a1362a6f7e70b103e9bc2.tar.zst
Puppet-0a4ec3790f89873bf37a1362a6f7e70b103e9bc2.zip
Add nginx
Diffstat (limited to 'modules/role/manifests/cryptoportfolio.pp')
-rw-r--r--modules/role/manifests/cryptoportfolio.pp8
1 files changed, 8 insertions, 0 deletions
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 {
26 auth_method => 'md5', 26 auth_method => 'md5',
27 order => "b0", 27 order => "b0",
28 } 28 }
29
29 ensure_packages("go") 30 ensure_packages("go")
31
32 class { 'nginx': }
33
34 nginx::resource::server { 'cryptoportfolio.immae.eu':
35 listen_port => 80,
36 proxy => 'http://localhost:8000',
37 }
30} 38}