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:
Michael Krotscheck 2015-01-20 16:13:48 -08:00
parent 27b9f13f0b
commit ac275b3003
1 changed files with 8 additions and 1 deletions

View File

@ -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,