Serve the statusbot alert file from eavesdrop
Change-Id: I5c1a4adc25bab62564effba527122e57c229d1c5
This commit is contained in:
parent
88010d91f7
commit
36a5de7cf9
@ -63,17 +63,36 @@ class statusbot(
|
|||||||
}
|
}
|
||||||
|
|
||||||
file { '/var/log/statusbot':
|
file { '/var/log/statusbot':
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
owner => 'statusbot',
|
owner => 'statusbot',
|
||||||
group => 'statusbot',
|
group => 'statusbot',
|
||||||
mode => '0775',
|
mode => '0775',
|
||||||
|
require => User['statusbot'],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/var/run/statusbot':
|
file { '/var/run/statusbot':
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
owner => 'statusbot',
|
owner => 'statusbot',
|
||||||
group => 'statusbot',
|
group => 'statusbot',
|
||||||
mode => '0775',
|
mode => '0775',
|
||||||
|
require => User['statusbot'],
|
||||||
|
}
|
||||||
|
|
||||||
|
file { '/var/lib/statusbot':
|
||||||
|
ensure => directory,
|
||||||
|
owner => 'statusbot',
|
||||||
|
group => 'statusbot',
|
||||||
|
mode => '0775',
|
||||||
|
require => User['statusbot'],
|
||||||
|
}
|
||||||
|
|
||||||
|
file { '/var/lib/statusbot/www':
|
||||||
|
ensure => directory,
|
||||||
|
owner => 'statusbot',
|
||||||
|
group => 'statusbot',
|
||||||
|
mode => '0775',
|
||||||
|
require => [File['/var/lib/statusbot'],
|
||||||
|
User['statusbot']]
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/statusbot/logging.config':
|
file { '/etc/statusbot/logging.config':
|
||||||
|
@ -13,3 +13,6 @@ username=<%= wiki_user %>
|
|||||||
password=<%= wiki_password %>
|
password=<%= wiki_password %>
|
||||||
url=<%= wiki_url %>
|
url=<%= wiki_url %>
|
||||||
pageid=<%= wiki_pageid %>
|
pageid=<%= wiki_pageid %>
|
||||||
|
|
||||||
|
[alertfile]
|
||||||
|
dir=/var/lib/statusbot/www
|
||||||
|
Loading…
x
Reference in New Issue
Block a user