]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Cleanup nodo::role::proxy
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 9 Nov 2015 14:02:20 +0000 (12:02 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 9 Nov 2015 14:02:20 +0000 (12:02 -0200)
manifests/role/proxy.pp

index 2f86e083e33f0f48b6b4603d3e46bb5010acddb6..2e3536f8c663c0bdacbdba51aca59f0cd9de5412 100644 (file)
@@ -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'],