Added config.json to manifest
This adds an empty, default config.json file to storyboard's webclient install. While functionally it impacts nothing, it will remove a multitude of 404 log errors caused by storyboard trying to load a secondary configuration. Change-Id: Ib31e4ad1c6f03b4dd43659bd8e931d965ce7686b
This commit is contained in:
parent
27b9f13f0b
commit
ac275b3003
@ -205,12 +205,19 @@ class storyboard::application (
|
||||
subscribe => Exec['get-webclient'],
|
||||
}
|
||||
|
||||
# Create config.json
|
||||
file { '/opt/storyboard-webclient/dist/config.json':
|
||||
ensure => file,
|
||||
content => '{}',
|
||||
require => Exec['unpack-webclient'],
|
||||
}
|
||||
|
||||
# Copy the downloaded source into the configured www_root
|
||||
file { $www_root:
|
||||
ensure => directory,
|
||||
owner => $storyboard::params::user,
|
||||
group => $storyboard::params::group,
|
||||
require => Exec['unpack-webclient'],
|
||||
require => File['/opt/storyboard-webclient/dist/config.json'],
|
||||
source => '/opt/storyboard-webclient/dist',
|
||||
recurse => true,
|
||||
purge => true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user