Merge "fix copy of wsgi file beeing a symlink"

This commit is contained in:
Jenkins 2017-06-29 23:35:03 +00:00 committed by Gerrit Code Review
commit 6dafbc69ca
2 changed files with 2 additions and 0 deletions

View File

@ -198,6 +198,7 @@ define openstacklib::wsgi::apache (
file { $service_name:
ensure => file,
links => follow,
path => "${wsgi_script_dir}/${wsgi_script_file}",
source => $wsgi_script_source,
owner => $user,

View File

@ -57,6 +57,7 @@ describe 'openstacklib::wsgi::apache' do
it { is_expected.to contain_file('keystone_wsgi').with(
'ensure' => 'file',
'links' => 'follow',
'path' => '/var/www/cgi-bin/keystone/main',
'source' => '/usr/share/keystone/keystone.wsgi',
'owner' => 'keystone',