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

index bcff3dcf8031e929542a3aea8b47588997546677..58dfcd26e5c78bb8a907bdcda29666b005271aab 100644 (file)
@@ -1,11 +1,14 @@
 class nodo::role::proxy inherits nodo::base::vserver {
   class { 'nginx': }
 
-  nginx::cert { "$::domain": }
+  ssl::cert { "$::domain":
+    notify => Service['nginx'],
+  }
 
   # For SNI
   # TODO: generate automatically
   ssl::cert { "example.org":
+    #generate => true,
     notify => Service['nginx'],
   }