diff --git a/modules/openstack_project/manifests/status.pp b/modules/openstack_project/manifests/status.pp index 41b8d5ff21..ce51c631d9 100644 --- a/modules/openstack_project/manifests/status.pp +++ b/modules/openstack_project/manifests/status.pp @@ -14,6 +14,7 @@ class openstack_project::status ( $recheck_bot_nick, $status_base_url = 'http://status.openstack.org/', $status_title = 'OpenStack', + $graphite_render_url = 'http://graphite.openstack.org/render/', ) { class { 'openstack_project::server': @@ -161,13 +162,13 @@ class openstack_project::status ( file { '/srv/static/status/zuul/index.html': ensure => present, - source => 'puppet:///modules/openstack_project/zuul/status.html', + content => template('openstack_project/zuul/status.html.erb'), require => File['/srv/static/status/zuul'], } file { '/srv/static/status/zuul/status.js': ensure => present, - source => 'puppet:///modules/openstack_project/zuul/status.js', + content => template('openstack_project/zuul/status.js.erb'), require => File['/srv/static/status/zuul'], } diff --git a/modules/openstack_project/files/zuul/status.html b/modules/openstack_project/templates/zuul/status.html.erb similarity index 99% rename from modules/openstack_project/files/zuul/status.html rename to modules/openstack_project/templates/zuul/status.html.erb index 160e9df623..358d0813d1 100644 --- a/modules/openstack_project/files/zuul/status.html +++ b/modules/openstack_project/templates/zuul/status.html.erb @@ -300,7 +300,7 @@ progress[aria-valuenow]:before {