|
@@ -18,6 +18,7 @@ apt_repository 'debian_testing' do
|
|
components components_
|
|
components components_
|
|
deb_src true
|
|
deb_src true
|
|
action :add
|
|
action :add
|
|
|
|
+ notifies :run, 'execute[UpdateDistribution]', :immediately
|
|
end
|
|
end
|
|
|
|
|
|
apt_repository 'debian_testing_updates' do
|
|
apt_repository 'debian_testing_updates' do
|
|
@@ -68,3 +69,8 @@ file '/etc/apt/apt.conf.d/01norecommend' do
|
|
_EOF
|
|
_EOF
|
|
end
|
|
end
|
|
|
|
|
|
|
|
+execute 'UpdateDistribution' do
|
|
|
|
+ command '/usr/bin/apt-get dist-upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"'
|
|
|
|
+ environment ({ 'DEBIAN_FRONTEND' => 'noninteractive' })
|
|
|
|
+ action :nothing
|
|
|
|
+end
|