Add missing working directory to filesystem and storyboard config
Solves the directory creation issue mentioned in that patch: https://review.openstack.org/#/c/148592/ Change-Id: I9bef14d695c9bb1bb29790132566d4ed04bec544
This commit is contained in:
parent
8a7d4342d1
commit
7fe4951d7d
@ -23,6 +23,7 @@ class storyboard::application (
|
||||
# Installation parameters
|
||||
$install_root = '/var/lib/storyboard',
|
||||
$www_root = '/var/lib/storyboard/www',
|
||||
$working_root = '/var/lib/storyboard/spool',
|
||||
$server_admin = undef,
|
||||
$hostname = $::fqdn,
|
||||
$cors_allowed_origins = undef,
|
||||
@ -136,6 +137,13 @@ class storyboard::application (
|
||||
group => $storyboard::params::group,
|
||||
}
|
||||
|
||||
# Create the working dir
|
||||
file { $working_root:
|
||||
ensure => directory,
|
||||
owner => $storyboard::params::user,
|
||||
group => $storyboard::params::group,
|
||||
}
|
||||
|
||||
# Create the log dir
|
||||
file { '/var/log/storyboard':
|
||||
ensure => directory,
|
||||
@ -150,6 +158,7 @@ class storyboard::application (
|
||||
group => $storyboard::params::group,
|
||||
require => [
|
||||
File[$install_root],
|
||||
File[$working_root],
|
||||
Exec['install-storyboard'],
|
||||
],
|
||||
notify => Service['httpd'],
|
||||
|
@ -53,6 +53,9 @@ access_token_ttl = <%= @access_token_ttl %>
|
||||
# Time in seconds before an refresh_token expires
|
||||
refresh_token_ttl = <%= @refresh_token_ttl %>
|
||||
|
||||
# The root path to storyboard's working directory
|
||||
working_directory = <%= @working_root %>
|
||||
|
||||
[cron]
|
||||
# Storyboard's cron management configuration
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user