Horizon: clean up obsolete code/files

This commit is contained in:
Michael Polenchuk 2013-03-01 15:58:17 +04:00 committed by Sergey Vasilenko
parent 2439bea9c9
commit 7168d1a76f
3 changed files with 0 additions and 72 deletions

View File

@ -1,28 +0,0 @@
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCkwgscebSTSLwU
TunIz7UI3JzQTSmsbhW28euCPHpPV20vNOxMsxSNMCCmuLRxpz4P2nxdD5OE5hNC
x40ih3BEgcfvGO7lGoNSWaj0wx0gRqtNjl1HoNGfZlMhM1Hw6csnp+IHNcXChYzn
qTQO8AfIbtkwIClxPvC2FLngiFfcBK2vcwh6cE+0RHdwU3+XS7ZENhoJP0XvtXTB
OlGM+G0td/1y8zOkAzqhVk6g7TByRL2AaPrgHUlRVVmnFI5HjVMVmSbSF3o0NadT
NfJiMpozzUMLzmPvjLgUh+Yua7x2yCTgst4VjhqdEATfWMNPpNz10xPQ6sA0fJmh
PD7ES2glAgMBAAECggEASGZYuZ+lwV8h/w6aXzsfA5DmfAacfIA3nJf8dNOcr8bs
XOU1vZKoQk7W2kyqRpNGi3LoWYChw7HS3vKPy4+WvxQExsW/HQAkmwh5XW1sHCXR
2xfnV7WMyC4P87P4mxQxyPBWO/LeP1eujpJlJPdHhEVpvWM0suYEow7Ci69+ZFkZ
Ks2ocAfy22QngHNel7cpP9sjuAOnKKjtqhSweX00el2usuhXru/dUIja5zzAaEFo
MH+HWzaPtv0kIJsCZHquzP6RaedyNjZt/SlUQAzuDELFZkDpzN0itoOFRHMyVYtG
ihKuJQmJjvz34P2YmoMKhDTB1EvmtmI6RpOiKGf49QKBgQDZeKHq/ESC7h7R9Tm6
eG94l8q79OzDRgzdkxK4x3NTmEZos7TY9bkq0ZTo77DilqH0tI/lf5hGkQDYPQLL
2+HlPoNkBYT82ejX5AXLDQdTTSLjE/ACQS/7aueNjfRmKaiiA5CQDKudIzVff2LO
H+ycdYGwdcw3UW2OWi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G4VtvHrgjx6T1dtLzTsTLMUjTAgpri0cac+D9p8
XQ+ThOYTQseNIodwRIHH7xju5RqDUlmo9MMdIEarTY5dR6DRn2ZTITNR8OnLJ6fi
BzXFwoWM56k0DvAHyG7ZMCApcT7wthS54IhX3AStr3MIenBPtER3cFN/l0u2RDYa
CT9F77V0wTpRjPhtLXf9cvMzpAM6oVZOoO0wckS9gGj64B1JUVVZpxSOR41TFZkm
0hd6NDWnUzXyYjKaM81DC85j74y4FIfmLmu8dsgk4LLeFY4anRAE31jDT6Tc9dMT
0OrANHyZoTw+xEtoJQIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQB0oX7/m89rtNrW
eMcDKdwSZGbkM35GWhPHnnr8gNfxsC0hnuitPbVylkDhLCSBy+krw/rZpV8jZ5V2
NhvaPb5FkXz5VuQIK4YfEtNz4zKl04NeKUS3EoqJt0zZnNAwAhT/CjWocfB+/IWR
lmqKaiyl3ZW+wLTUII1YkST1QsBl8tY5Eh6V6tj6qauB2mzNEQp8SvTh/8NWtSFp
geIQ08CXZAh1PCPNRXH3MIsb7w4HNn5MgTXIGf02oQqXyMYUdr5s+YZjc389EoNg
BhOVZaF6iRKfqISSgcfXk4as2CsV5X08WbML9uc1So2p2FlMepSsXI33ccw3pVF6
c7XxlUvG
-----END CERTIFICATE-----

View File

@ -154,22 +154,6 @@ class horizon(
before => Package['dashboard'], before => Package['dashboard'],
} # ensure there is a HTTP redirect from / to /dashboard } # ensure there is a HTTP redirect from / to /dashboard
# file_line { 'horizon_redirect_rule':
# path => $::horizon::params::config_file,
# line => 'RedirectMatch permanent ^/$ /dashboard/',
# require => Package["$::horizon::params::package_name"],
# notify => Service["$::horizon::params::http_service"]
# }
# file_line { 'httpd_listen_on_internal_network_only':
# path => $::horizon::params::httpd_listen_config_file,
# match => '^Listen (.*)$',
# line => "Listen ${bind_address}:80",
# before => [Service["$::horizon::params::http_service"]],
# notify => [Service["$::horizon::params::http_service"]],
# require =>[Package["$::horizon::params::package_name"]]
# }
if $use_ssl { if $use_ssl {
package { 'mod_ssl': package { 'mod_ssl':
ensure => present, ensure => present,
@ -201,22 +185,12 @@ class horizon(
file { '/etc/apache2/sites-enabled/openstack-dashboard': file { '/etc/apache2/sites-enabled/openstack-dashboard':
ensure => link, ensure => link,
target => $::horizon::params::vhosts_file, target => $::horizon::params::vhosts_file,
#require => File['/etc/apache2/sites-available/openstack-dashboard'],
} }
file { '/etc/apache2/sites-enabled/000-default': file { '/etc/apache2/sites-enabled/000-default':
ensure => absent, ensure => absent,
before => Service['httpd'], before => Service['httpd'],
} }
# exec { 'a2enmod wsgi':
# command => 'a2enmod wsgi',
# path => ['/usr/bin','/usr/sbin','/bin/','/sbin'],
# require => Package["$::horizon::params::http_service", "$::horizon::params::http_modwsgi"],
# before => Package["$::horizon::params::package_name"],
# }
} }
} }