Add upstart script for versions information.

Change-Id: Ie060ab4ae75b21197d07db78dc3b86370fd0a493
This commit is contained in:
Monty Taylor 2012-02-13 11:41:34 -08:00
parent 5e094fb1a6
commit 69255755e0
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,8 @@
description "BZR smart server of tarball versions"
author "Monty Taylor <mordred@inaugust.com>"
start on (local-filesystems and net-device-up)
stop on runlevel [!2345]
exec bzr serve --allow-writes -d /var/lib/jenkins/versions/

View File

@ -45,6 +45,21 @@ class jenkins_master {
require => File['/etc/apt/sources.list.d/jenkins.list'], require => File['/etc/apt/sources.list.d/jenkins.list'],
} }
service { "versions":
provider => upstart,
ensure => running,
}
file { '/etc/init/versions.conf':
owner => 'root',
group => 'root',
mode => 444,
ensure => 'present',
source => "puppet:///modules/jenkins_master/versions.conf",
replace => 'true',
notify => Service["versions"]
}
package { "apache-libcloud": package { "apache-libcloud":
ensure => latest, ensure => latest,
provider => pip, provider => pip,