X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fporterbox%2Fmanifests%2Finit.pp;h=847f5d685e09a4d6cde2b683dea874d08c40b56f;hb=33b214debfd84ce19c5c971d8b9c769a765571ca;hp=b211cc3e9245b4f1a4cc60dda1ac3645a4004e01;hpb=48e37584c671fc8f37b823d3ee9fbd28db4f4a7c;p=mirror%2Fdsa-puppet.git diff --git a/modules/porterbox/manifests/init.pp b/modules/porterbox/manifests/init.pp index b211cc3e9..847f5d685 100644 --- a/modules/porterbox/manifests/init.pp +++ b/modules/porterbox/manifests/init.pp @@ -1,6 +1,10 @@ class porterbox { include schroot + package { 'dgit': + ensure => installed, + } + file { '/usr/local/bin/dd-schroot-cmd': mode => '0555', source => 'puppet:///modules/porterbox/dd-schroot-cmd', @@ -9,11 +13,9 @@ class porterbox { mode => '0555', source => 'puppet:///modules/porterbox/schroot-list-sessions', } - file { '/etc/cron.d/puppet-update-dchroots': - ensure => absent; - } - concat::fragment { 'dsa-puppet-stuff--porterbox-chroot-update': - target => '/etc/cron.d/dsa-puppet-stuff', + file { '/etc/cron.d/puppet-update-dchroots': ensure => absent; } + concat::fragment { 'puppet-crontab--porterbox-chroot-update': + target => '/etc/cron.d/puppet-crontab', content => @(EOF) 0 15 * * 0 root PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin setup-all-dchroots | EOF