Create dir on eavesdrop for ical publishing
Jenkins will publish yaml2ical files in /srv/yaml2ical. Ensure that directory exists and then symlink the site index and ical files to that directory. Change-Id: Ib234dd1c1f95c57638292d19a5d5fb7e181048c6
This commit is contained in:
parent
703238ad98
commit
4c8b6c8f51
@ -134,4 +134,23 @@ class openstack_project::eavesdrop (
|
||||
class { 'jenkins::jenkinsuser':
|
||||
ssh_key => $openstack_project::jenkins_ssh_key,
|
||||
}
|
||||
|
||||
file { '/srv/yaml2ical':
|
||||
ensure => directory,
|
||||
owner => 'jenkins',
|
||||
group => 'jenkins',
|
||||
require => User['jenkins'],
|
||||
}
|
||||
|
||||
file { '/srv/meetbot-openstack/index.html':
|
||||
ensure => link,
|
||||
target => '/srv/yaml2ical/index.html',
|
||||
require => File['/srv/yaml2ical'],
|
||||
}
|
||||
|
||||
file { '/srv/meetbot-openstack/irc-meetigs.ical':
|
||||
ensure => link,
|
||||
target => '/srv/yaml2ical/irc-meetings.ical',
|
||||
require => File['/srv/yaml2ical'],
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user