Make HTML and Javascript files world readable
So that Apache can serve the ptg.html and ptg.js files to browsers, make them world readable (and so readable by Apache itself). Change-Id: I313826cd49056234e3beb7863cb2138a951134a4
This commit is contained in:
parent
5680eecf0e
commit
94a1552c6c
|
@ -93,7 +93,7 @@ class ptgbot(
|
||||||
file { '/var/lib/ptgbot/www/ptg.html':
|
file { '/var/lib/ptgbot/www/ptg.html':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
group => 'ptgbot',
|
group => 'ptgbot',
|
||||||
mode => '0440',
|
mode => '0444',
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
replace => true,
|
replace => true,
|
||||||
require => [File['/var/lib/ptgbot/www'],
|
require => [File['/var/lib/ptgbot/www'],
|
||||||
|
@ -105,7 +105,7 @@ class ptgbot(
|
||||||
file { '/var/lib/ptgbot/www/ptg.js':
|
file { '/var/lib/ptgbot/www/ptg.js':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
group => 'ptgbot',
|
group => 'ptgbot',
|
||||||
mode => '0440',
|
mode => '0444',
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
replace => true,
|
replace => true,
|
||||||
require => [File['/var/lib/ptgbot/www'],
|
require => [File['/var/lib/ptgbot/www'],
|
||||||
|
|
Loading…
Reference in New Issue