aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-05-23 11:42:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-05-23 11:42:42 -0300
commitffc860e04833505cf785c2bbf96ada619bb392c6 (patch)
tree3dd4929f27b2e9c1c0561ec70be5995bda03b901
parent4d9f42c944a6b7041e76bf8bc79fa33053c741f3 (diff)
downloadpuppet-nodo-ffc860e04833505cf785c2bbf96ada619bb392c6.tar.gz
puppet-nodo-ffc860e04833505cf785c2bbf96ada619bb392c6.tar.bz2
Use only ssl::cert
-rw-r--r--manifests/role/proxy.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/role/proxy.pp b/manifests/role/proxy.pp
index bcff3dc..58dfcd2 100644
--- a/manifests/role/proxy.pp
+++ b/manifests/role/proxy.pp
@@ -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'],
}