aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-11-09 12:02:20 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-11-09 12:02:20 -0200
commit87eadc7bf482c611447695fe124a124541e0d761 (patch)
treeea5cc6ee85b3eabf554a17900816fad69749d3d5
parent65406321681d21047f45c8fc8597032b84e10eb5 (diff)
downloadpuppet-nodo-87eadc7bf482c611447695fe124a124541e0d761.tar.gz
puppet-nodo-87eadc7bf482c611447695fe124a124541e0d761.tar.bz2
Cleanup nodo::role::proxy
-rw-r--r--manifests/role/proxy.pp28
1 files changed, 8 insertions, 20 deletions
diff --git a/manifests/role/proxy.pp b/manifests/role/proxy.pp
index 2f86e08..2e3536f 100644
--- a/manifests/role/proxy.pp
+++ b/manifests/role/proxy.pp
@@ -1,18 +1,6 @@
class nodo::role::proxy inherits nodo::base::virtual {
class { 'nginx': }
- ssl::cert { "$::domain":
- notify => Service['nginx'],
- }
-
- # For SNI
- # TODO: generate automatically
- ssl::cert { "example.org":
- #generate => true,
- verify => false,
- notify => Service['nginx'],
- }
-
$munin = hiera('nodo::host::use_munin', True)
if $munin == true {
# Graph nginx
@@ -20,18 +8,18 @@ class nodo::role::proxy inherits nodo::base::virtual {
ensure => present,
config => 'env.url http://localhost/nginx_status',
}
- }
- # Needed by munin plugins
- package { 'liblwp-useragent-determined-perl':
- ensure => installed,
+ # Needed by munin plugins
+ package { 'liblwp-useragent-determined-perl':
+ ensure => installed,
+ }
}
# TODO: Apt cacher: still buggy and needs hardening
- package { 'apt-cacher-ng':
- ensure => purged,
- }
-
+ #package { 'apt-cacher-ng':
+ # ensure => present,
+ #}
+ #
#service { 'apt-cacher-ng':
# ensure => stopped,
# require => Package['apt-cacher-ng'],