aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/ui.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/ui.pp')
-rw-r--r--manifests/ui.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/manifests/ui.pp b/manifests/ui.pp
index c73d984..3f6d37a 100644
--- a/manifests/ui.pp
+++ b/manifests/ui.pp
@@ -91,6 +91,21 @@ class tripleo::ui (
fallbackresource => '/index.html',
}
+ # We already use apache::vhost to generate our own
+ # configuration file, let's clean the configuration
+ # embedded within the package
+ file { "${apache::confd_dir}/openstack-tripleo-ui.conf" :
+ ensure => present,
+ content => "#
+# This file has been cleaned by Puppet.
+#
+# OpenStack TripleO UI configuration has been moved to:
+# - 25-tripleo-ui.conf
+#",
+ require => Package['openstack-tripleo-ui'],
+ before => Service[$::apache::params::service_name],
+ }
+
file { '/var/www/openstack-tripleo-ui/dist/tripleo_ui_config.js' :
ensure => file,
content => template('tripleo/ui/tripleo_ui_config.js.erb'),