diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-05-23 11:33:00 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-05-23 11:33:00 -0300 |
commit | 4d9f42c944a6b7041e76bf8bc79fa33053c741f3 (patch) | |
tree | 860e12abf21952e5e7fc079f3b2d29d81c6b443f /manifests | |
parent | b5ad34e27a3697b2eb5ac86597a010ed996c720c (diff) | |
download | puppet-nodo-4d9f42c944a6b7041e76bf8bc79fa33053c741f3.tar.gz puppet-nodo-4d9f42c944a6b7041e76bf8bc79fa33053c741f3.tar.bz2 |
Basic proxy certs
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/role/proxy.pp | 8 |
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, |