Create storyboard configuration directory

Storyboard's configuration directory was not being created,
which causes an error on clean systems.

Change-Id: I506bebee77cbc6e60d05598cd4c13d65fb287e11
This commit is contained in:
Michael Krotscheck 2014-08-12 11:46:21 -07:00
parent 614c901928
commit abd3a1ee85

View File

@ -54,6 +54,14 @@ class storyboard::application (
} }
} }
# Create the storyboard configuration directory.
file { '/etc/storyboard':
ensure => directory,
owner => $storyboard::params::user,
group => $storyboard::params::group,
mode => '0700',
}
# Configure the StoryBoard API # Configure the StoryBoard API
file { '/etc/storyboard/storyboard.conf': file { '/etc/storyboard/storyboard.conf':
ensure => present, ensure => present,
@ -62,7 +70,10 @@ class storyboard::application (
mode => '0400', mode => '0400',
content => template('storyboard/storyboard.conf.erb'), content => template('storyboard/storyboard.conf.erb'),
notify => Service['httpd'], notify => Service['httpd'],
require => Class['apache::params'], require => [
Class['apache::params'],
File['/etc/storyboard']
]
} }
# Download the latest StoryBoard Source # Download the latest StoryBoard Source