3 # FIXME: Refactor this to a common class when something else needs it
8 file { '/etc/schroot/dsa':
10 require => Package['schroot'],
12 file { '/etc/schroot/dsa/config':
13 source => 'puppet:///modules/porterbox/schroot-dsa/config',
15 if ! ($::debarchitecture in ['kfreebsd-amd64', 'kfreebsd-i386']) {
16 file { '/etc/schroot/dsa/fstab':
17 source => 'puppet:///modules/porterbox/schroot-dsa/fstab',
20 file { '/etc/schroot/dsa/fstab':
21 source => 'puppet:///modules/porterbox/schroot-dsa/fstab-freebsd',
24 file { '/etc/schroot/dsa/default-mirror':
25 content => template('porterbox/default-mirror.erb'),
27 file { '/etc/schroot/setup.d/99porterbox-extra-apt-options':
29 source => 'puppet:///modules/porterbox/schroot-setup.d/99porterbox-extra-apt-options',
30 require => Package['schroot'],
32 file { '/etc/schroot/setup.d/99porterbox-extra-sources':
34 source => 'puppet:///modules/porterbox/schroot-setup.d/99porterbox-extra-sources',
35 require => Package['schroot'],
37 file { '/usr/local/bin/dd-schroot-cmd':
39 source => 'puppet:///modules/porterbox/dd-schroot-cmd',
41 file { '/usr/local/bin/schroot-list-sessions':
43 source => 'puppet:///modules/porterbox/schroot-list-sessions',
45 file { '/usr/local/sbin/setup-dchroot':
47 source => 'puppet:///modules/porterbox/setup-dchroot',
49 file { '/usr/local/sbin/setup-all-dchroots':
51 source => 'puppet:///modules/porterbox/setup-all-dchroots',
53 file { '/etc/cron.d/puppet-update-dchroots':
54 content => "0 15 * * 0 root PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin chronic setup-all-dchroots\n",
56 file { '/etc/cron.weekly/puppet-mail-big-homedirs':
58 source => 'puppet:///modules/porterbox/mail-big-homedirs',