Deploy the etherpads.html file

PTGbot recently gained the ability to list etherpads. We need
the Puppet module to deploy that new HTML file on the website.

Change-Id: I7b4eec97100d5fc3d8512fdecfebcd6f929a06ba
Depends-On: https://review.opendev.org/687884
This commit is contained in:
Thierry Carrez 2019-10-10 12:20:13 +02:00 committed by Jeremy Stanley
parent c610326c6b
commit ba540724cf
1 changed files with 12 additions and 0 deletions

View File

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