Added config file for apt::cacher.
This commit is contained in:
parent
09d936826e
commit
e84a99fc98
2 changed files with 173 additions and 0 deletions
|
@ -30,6 +30,16 @@ class apt::cacher {
|
|||
require => Package["apt-cacher"],
|
||||
}
|
||||
|
||||
file { "/etc/apt-cacher/apt-cacher.conf":
|
||||
ensure => present,
|
||||
source => [ "puppet:///files/apt/apt-cacher.conf",
|
||||
"puppet:///apt/apt-cacher.conf", ],
|
||||
mode => 0644,
|
||||
owner => root,
|
||||
group => root,
|
||||
notify => Service["apt-cacher"],
|
||||
}
|
||||
|
||||
service { "apt-cacher":
|
||||
ensure => running,
|
||||
enable => true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue