diff options
-rw-r--r-- | manifests/role/proxy.pp | 7 |
1 files changed, 6 insertions, 1 deletions
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'], + } } |