From 5a8ec36de973e6e40188c9ad98625e4c50daf630 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 23 Dec 2013 14:29:22 -0200 Subject: Service definition for apt-cacher-ng --- manifests/role/proxy.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'manifests/role') 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'], + } } -- cgit v1.2.3