Fix dependencies for activity-dev
* modules/openstack_project/manifests/activity_dev.pp: Add missing parent directory and replace incorrect dependency on a non-puppeted www-data user account with one on the apache2 package instead. Change-Id: Ie1dceb9c5d83ed11f9aa9aebd2a18d2ee91b44af
This commit is contained in:
parent
1c27095a44
commit
9e275a0731
@ -39,7 +39,18 @@ class openstack_project::activity_dev (
|
|||||||
ensure => directory,
|
ensure => directory,
|
||||||
owner => 'www-data',
|
owner => 'www-data',
|
||||||
group => 'www-data',
|
group => 'www-data',
|
||||||
require => User['www-data'],
|
mode => '0775',
|
||||||
|
require => [
|
||||||
|
File['/srv/static'],
|
||||||
|
Package['apache2'],
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
file { '/srv/static':
|
||||||
|
ensure => directory,
|
||||||
|
owner => 'root',
|
||||||
|
group => 'root',
|
||||||
|
mode => '0755',
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user