Merge "Load storyboard projects from projects.yaml"
This commit is contained in:
commit
c7c179904b
@ -110,6 +110,17 @@ class storyboard (
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exec { 'load-projects-yaml':
|
||||||
|
command => 'storyboard-db-manage --config-file /etc/storyboard/storyboard.conf load_projects /etc/storyboard/projects.yaml',
|
||||||
|
path => '/usr/local/bin:/usr/bin:/bin/',
|
||||||
|
refreshonly => true,
|
||||||
|
subscribe => File['/etc/storyboard/projects.yaml'],
|
||||||
|
require => [
|
||||||
|
File['/etc/storyboard/projects.yaml'],
|
||||||
|
Exec['migrate-storyboard-db'],
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
file { '/var/log/storyboard':
|
file { '/var/log/storyboard':
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
owner => 'storyboard',
|
owner => 'storyboard',
|
||||||
|
Loading…
Reference in New Issue
Block a user