Fixed location of storyboard configuration file
For some reason, storyboard's config is again trying to read from /etc/storyboard/storyboard.conf rather than /etc/storyboard.conf. This fixes our configuration. Change-Id: I978b8cd99744fabfab7fdf5b1d63bd54396350ed
This commit is contained in:
parent
4fdd12b7f5
commit
79fe352c7c
@ -55,7 +55,7 @@ class storyboard::application (
|
||||
}
|
||||
|
||||
# Configure the StoryBoard API
|
||||
file { '/etc/storyboard.conf':
|
||||
file { '/etc/storyboard/storyboard.conf':
|
||||
ensure => present,
|
||||
owner => $storyboard::params::user,
|
||||
group => $storyboard::params::group,
|
||||
@ -115,16 +115,16 @@ class storyboard::application (
|
||||
|
||||
# Migrate the database
|
||||
exec { 'migrate-storyboard-db':
|
||||
command => 'storyboard-db-manage --config-file /etc/storyboard.conf upgrade head',
|
||||
command => 'storyboard-db-manage --config-file /etc/storyboard/storyboard.conf upgrade head',
|
||||
path => '/usr/local/bin:/usr/bin:/bin/',
|
||||
refreshonly => true,
|
||||
subscribe => [
|
||||
Exec['install-storyboard'],
|
||||
File['/etc/storyboard.conf'],
|
||||
File['/etc/storyboard/storyboard.conf'],
|
||||
],
|
||||
require => [
|
||||
Class['mysql::python'],
|
||||
File['/etc/storyboard.conf'],
|
||||
File['/etc/storyboard/storyboard.conf'],
|
||||
],
|
||||
notify => Service['httpd'],
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ class storyboard::load_projects (
|
||||
}
|
||||
|
||||
exec { 'load-projects-yaml':
|
||||
command => "storyboard-db-manage --config-file /etc/storyboard.conf load_projects ${project_file_path}",
|
||||
command => "storyboard-db-manage --config-file /etc/storyboard/storyboard.conf load_projects ${project_file_path}",
|
||||
path => '/usr/local/bin:/usr/bin:/bin/',
|
||||
refreshonly => true,
|
||||
subscribe => File[$project_file_path],
|
||||
|
@ -43,7 +43,7 @@ class storyboard::load_superusers (
|
||||
}
|
||||
|
||||
exec { 'load-superusers-yaml':
|
||||
command => "storyboard-db-manage --config-file /etc/storyboard.conf load_superusers ${superuser_file_path}",
|
||||
command => "storyboard-db-manage --config-file /etc/storyboard/storyboard.conf load_superusers ${superuser_file_path}",
|
||||
path => '/usr/local/bin:/usr/bin:/bin/',
|
||||
refreshonly => true,
|
||||
subscribe => File[$superuser_file_path],
|
||||
|
Loading…
x
Reference in New Issue
Block a user