Reflect new location for config files
Change-Id: I8400f1188b6348d50d1ae356ed98e482b9e6958a
This commit is contained in:
parent
7a413d26a8
commit
526a35b663
@ -14,12 +14,9 @@ end
|
||||
# Set up symlinks
|
||||
# Use 'execute' resource because chef does not support symlinking directories
|
||||
if !::File.exists?("/opt/stack/horizon/monitoring")
|
||||
execute "ln -sfv /usr/local/share/monasca/ui/enabled/* /opt/stack/horizon/openstack_dashboard/local/enabled/"
|
||||
execute "ln -sfv /usr/local/lib/python2.7/dist-packages/monitoring/enabled/* /opt/stack/horizon/openstack_dashboard/local/enabled/"
|
||||
execute "ln -sv /usr/local/lib/python2.7/dist-packages/monitoring /opt/stack/horizon/monitoring"
|
||||
end
|
||||
if ::File.readlines("/opt/stack/horizon/openstack_dashboard/local/local_settings.py").grep(/MONITORING_SERVICES/).size == 0
|
||||
execute "cat /usr/local/share/monasca/ui/local_settings.py >> /opt/stack/horizon/openstack_dashboard/local/local_settings.py"
|
||||
end
|
||||
|
||||
# install grafana and integrate with horizon
|
||||
if !::File.exists?("/usr/local/lib/python2.7/dist-packages/monitoring/static/grafana")
|
||||
|
Loading…
x
Reference in New Issue
Block a user