aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-05-23 11:33:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-05-23 11:33:00 -0300
commit4d9f42c944a6b7041e76bf8bc79fa33053c741f3 (patch)
tree860e12abf21952e5e7fc079f3b2d29d81c6b443f
parentb5ad34e27a3697b2eb5ac86597a010ed996c720c (diff)
downloadpuppet-nodo-4d9f42c944a6b7041e76bf8bc79fa33053c741f3.tar.gz
puppet-nodo-4d9f42c944a6b7041e76bf8bc79fa33053c741f3.tar.bz2
Basic proxy certs
-rw-r--r--manifests/role/proxy.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/role/proxy.pp b/manifests/role/proxy.pp
index 7e23412..bcff3dc 100644
--- a/manifests/role/proxy.pp
+++ b/manifests/role/proxy.pp
@@ -1,6 +1,14 @@
class nodo::role::proxy inherits nodo::base::vserver {
class { 'nginx': }
+ nginx::cert { "$::domain": }
+
+ # For SNI
+ # TODO: generate automatically
+ ssl::cert { "example.org":
+ notify => Service['nginx'],
+ }
+
# Graph nginx
munin::plugin { [ 'nginx_request', 'nginx_status' ]:
ensure => present,