hw-cookbooks / lxc

Linux Containers via Chef
58 stars 49 forks source link

Apt Cacher not used if installed in the same run #50

Open mal opened 10 years ago

mal commented 10 years ago

This line gets run before the cacher is installed and as a result the config is never placed into the default lxc config in /etc/default/lxc.

Example:

include_recipe 'apt::cacher-ng'
include_recipe 'apt::cacher-client'
include_recipe 'apt'

include_recipe 'lxc'

lxc_container 'my_container' do
  action :create
end