aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-12-23 14:29:22 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-12-23 14:29:22 -0200
commit5a8ec36de973e6e40188c9ad98625e4c50daf630 (patch)
tree4300f0ea98fa418d2fe55fff9ec7010631e9c599 /manifests
parentf72d2eda439cbb6b50112ccfcc7947359d6e9f4f (diff)
downloadpuppet-nodo-5a8ec36de973e6e40188c9ad98625e4c50daf630.tar.gz
puppet-nodo-5a8ec36de973e6e40188c9ad98625e4c50daf630.tar.bz2
Service definition for apt-cacher-ng
Diffstat (limited to 'manifests')
-rw-r--r--manifests/role/proxy.pp7
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'],
+ }
}