Deploy signage schedule view

Latest version of ptgbot also produces a signage.html page
suitable for display on on-site monitors. Let's deploy
that page as well.

Change-Id: I613373413863e319636c4ee0e35d104932fa98ee
This commit is contained in:
Thierry Carrez 2018-02-12 11:34:41 +01:00
parent e8321c317c
commit 6561290fe4
1 changed files with 12 additions and 0 deletions

View File

@ -117,6 +117,18 @@ class ptgbot(
subscribe => Vcsrepo['/opt/ptgbot'],
}
file { '/var/lib/ptgbot/www/signage.html':
ensure => present,
group => 'ptgbot',
mode => '0444',
owner => 'root',
replace => true,
require => [File['/var/lib/ptgbot/www'],
User['ptgbot']],
source => '/opt/ptgbot/html/signage.html',
subscribe => Vcsrepo['/opt/ptgbot'],
}
file { '/var/lib/ptgbot/www/bootstrap-3.3.7.min.css':
ensure => present,
group => 'ptgbot',