Merge "Added config.json to manifest"

This commit is contained in:
Jenkins 2015-02-06 22:51:12 +00:00 committed by Gerrit Code Review
commit f5ef08c443
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,