Speed up dpkg by using unasfe-io on porterbox chroots
[mirror/dsa-puppet.git] / modules / porterbox / manifests / init.pp
index 4d4d3a9..bda81a5 100644 (file)
@@ -33,4 +33,11 @@ class porterbox {
                mode    => 555,
                source  => 'puppet:///modules/porterbox/setup-dchroot',
        }
+       file { '/usr/local/sbin/setup-all-dchroots':
+               mode    => 555,
+               source  => 'puppet:///modules/porterbox/setup-all-dchroots',
+       }
+       file { '/etc/cron.d/puppet-update-dchroots':
+               content  => "0 15 * * 0 root PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin chronic setup-all-dchroots\n",
+       }
 }