aboutsummaryrefslogtreecommitdiff
path: root/manifests/role/proxy.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-06-29 16:50:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-06-29 16:50:00 -0300
commit3a2b922df895b204e14ab8e7cb51661e4956cbc4 (patch)
treeca7453b849008ec71dd47cccaed73b14e57c0c25 /manifests/role/proxy.pp
parentadc3ab327f85f7d9c583d8b79b2cac22345c148f (diff)
parentda49436db33d551c0c0bb09918697102e17f4ec8 (diff)
downloadpuppet-nodo-3a2b922df895b204e14ab8e7cb51661e4956cbc4.tar.gz
puppet-nodo-3a2b922df895b204e14ab8e7cb51661e4956cbc4.tar.bz2
Merge branch 'master' into feature/autoload
Diffstat (limited to 'manifests/role/proxy.pp')
-rw-r--r--manifests/role/proxy.pp14
1 files changed, 13 insertions, 1 deletions
diff --git a/manifests/role/proxy.pp b/manifests/role/proxy.pp
index ef9c86c..9c6186d 100644
--- a/manifests/role/proxy.pp
+++ b/manifests/role/proxy.pp
@@ -1,5 +1,17 @@
class nodo::role::proxy inherits nodo::base::vserver {
- include nginx
+ class { 'nginx': }
+
+ ssl::cert { "$::domain":
+ notify => Service['nginx'],
+ }
+
+ # For SNI
+ # TODO: generate automatically
+ ssl::cert { "example.org":
+ #generate => true,
+ verify => false,
+ notify => Service['nginx'],
+ }
# Graph nginx
munin::plugin { [ 'nginx_request', 'nginx_status' ]: