From: Stephen Gran Date: Sun, 8 Sep 2013 15:26:57 +0000 (+0100) Subject: porterboxes need chronic X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=679f771533f24e2a957bdf3d46151697804acd56;p=mirror%2Fdsa-puppet.git porterboxes need chronic Signed-off-by: Stephen Gran --- diff --git a/modules/porterbox/manifests/init.pp b/modules/porterbox/manifests/init.pp index bda81a571..6abe6edeb 100644 --- a/modules/porterbox/manifests/init.pp +++ b/modules/porterbox/manifests/init.pp @@ -1,5 +1,9 @@ class porterbox { include schroot + # FIXME: Refactor this to a common class when something else needs it + package { 'chronic': + ensure => installed + } file { '/etc/schroot/dsa': ensure => directory, @@ -12,29 +16,29 @@ class porterbox { content => template('porterbox/default-mirror.erb'), } file { '/etc/schroot/setup.d/99porterbox-extra-apt-options': - mode => 555, + mode => '0555', source => 'puppet:///modules/porterbox/schroot-setup.d/99porterbox-extra-apt-options', require => Package['schroot'], } file { '/etc/schroot/setup.d/99porterbox-extra-sources': - mode => 555, + mode => '0555', source => 'puppet:///modules/porterbox/schroot-setup.d/99porterbox-extra-sources', require => Package['schroot'], } file { '/usr/local/bin/dd-schroot-cmd': - mode => 555, + mode => '0555', source => 'puppet:///modules/porterbox/dd-schroot-cmd', } file { '/usr/local/bin/schroot-list-sessions': - mode => 555, + mode => '0555', source => 'puppet:///modules/porterbox/schroot-list-sessions', } file { '/usr/local/sbin/setup-dchroot': - mode => 555, + mode => '0555', source => 'puppet:///modules/porterbox/setup-dchroot', } file { '/usr/local/sbin/setup-all-dchroots': - mode => 555, + mode => '0555', source => 'puppet:///modules/porterbox/setup-all-dchroots', } file { '/etc/cron.d/puppet-update-dchroots':