aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/iurt/upload.pp
blob: 5417d36e06f85e650d153f087c23f7bca6c74f93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class buildsystem::iurt::upload {
    include buildsystem::var::iurt
    include buildsystem::var::webstatus
    include buildsystem::var::repository
    file { '/etc/iurt/upload.conf':
        require => File['/etc/iurt'],
        content => template('buildsystem/upload.conf'),
        notify  => Exec['check iurt config'],
    }

    exec { 'check iurt config':
        refreshonly => true,
        command     => 'perl -cw /etc/iurt/upload.conf',
        logoutput   => 'on_failure',
    }
}