From: Silvio Rhatto Date: Mon, 23 Dec 2013 16:29:22 +0000 (-0200) Subject: Service definition for apt-cacher-ng X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=5a8ec36de973e6e40188c9ad98625e4c50daf630;p=puppet-nodo.git Service definition for apt-cacher-ng --- diff --git a/manifests/role/proxy.pp b/manifests/role/proxy.pp index bd0e825..c7d6ea7 100644 --- a/manifests/role/proxy.pp +++ b/manifests/role/proxy.pp @@ -17,7 +17,12 @@ class nodo::role::proxy inherits nodo::base::vserver { ensure => present, } - class { 'apt::proxy_client': + service { 'apt-cacher-ng': + ensure => running, require => Package['apt-cacher-ng'], } + + class { 'apt::proxy_client': + require => Service['apt-cacher-ng'], + } }