X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fporterbox%2Fmanifests%2Finit.pp;h=847f5d685e09a4d6cde2b683dea874d08c40b56f;hb=436e5d46b937eb1e2fd2229777b02dd57e303444;hp=4ed9a21f4a0d0e3df5a04642ec8804f7b224b3a5;hpb=44688b3127634f8a9369c6419f45a706a39ee628;p=mirror%2Fdsa-puppet.git diff --git a/modules/porterbox/manifests/init.pp b/modules/porterbox/manifests/init.pp index 4ed9a21f4..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', @@ -10,8 +14,8 @@ class porterbox { 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', + 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