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, config => 'env.url http://localhost/nginx_status', } # 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, } #service { 'apt-cacher-ng': # ensure => stopped, # require => Package['apt-cacher-ng'], #} }