]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Basic proxy certs
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 23 May 2015 14:33:00 +0000 (11:33 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 23 May 2015 14:33:00 +0000 (11:33 -0300)
manifests/role/proxy.pp

index 7e23412d75e7c5f3d1dba7e738619d55f2de3589..bcff3dcf8031e929542a3aea8b47588997546677 100644 (file)
@@ -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,