puppet/static: move logs resources in system-config
Move resources for OpenStack logs from puppet-openstackci to here. Change-Id: I354639545c9cbc12f1b844946962946aa2bb4fb0 Depends-On: I65e8ecf39130377c088c053e5623212f7db60f7a
This commit is contained in:
parent
f050d9c2a8
commit
2a6d01e53f
@ -206,6 +206,44 @@ class openstack_project::static (
|
||||
swift_tenant_name => $swift_tenant_name,
|
||||
swift_region_name => $swift_region_name,
|
||||
swift_default_container => $swift_default_container,
|
||||
legacy => false,
|
||||
readmes => {
|
||||
'/*/*/*/*/*-tempest-dsvm*/*' => '/help/tempest-overview.html',
|
||||
'/periodic*/*/*-tempest-dsvm*/*' => '/help/tempest-overview.html',
|
||||
'/*/*/*/*/*-tempest-dsvm*/*/logs/' => '/help/tempest-logs.html',
|
||||
'/periodic*/*/*-tempest-dsvm*/*/logs/' => '/help/tempest-logs.html',
|
||||
}
|
||||
}
|
||||
|
||||
vcsrepo { '/opt/devstack-gate':
|
||||
ensure => latest,
|
||||
provider => git,
|
||||
revision => 'master',
|
||||
source => 'https://git.openstack.org/openstack-infra/devstack-gate',
|
||||
}
|
||||
|
||||
file { '/srv/static/logs/help':
|
||||
ensure => directory,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
require => File['/srv/static/logs'],
|
||||
}
|
||||
file { '/srv/static/logs/help/tempest-logs.html':
|
||||
ensure => present,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0444',
|
||||
source => 'file:///opt/devstack-gate/help/tempest-logs.html',
|
||||
require => [File['/srv/static/logs/help'], Vcsrepo['/opt/devstack-gate']],
|
||||
}
|
||||
file { '/srv/static/logs/help/tempest-overview.html':
|
||||
ensure => present,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0444',
|
||||
source => 'file:///opt/devstack-gate/help/tempest-overview.html',
|
||||
require => [File['/srv/static/logs/help'], Vcsrepo['/opt/devstack-gate']],
|
||||
}
|
||||
|
||||
###########################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user