diff options
Diffstat (limited to 'modules')
m--------- | modules/nginx | 0 | ||||
-rw-r--r-- | modules/role/manifests/cryptoportfolio.pp | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/modules/nginx b/modules/nginx new file mode 160000 | |||
Subproject a7f40a8893e394cc57695ff81ea53254bcf1ff3 | |||
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 | } |