summaryrefslogtreecommitdiff
path: root/modules/openstack_project/manifests/grafana.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/openstack_project/manifests/grafana.pp')
-rw-r--r--modules/openstack_project/manifests/grafana.pp20
1 files changed, 14 insertions, 6 deletions
diff --git a/modules/openstack_project/manifests/grafana.pp b/modules/openstack_project/manifests/grafana.pp
index e83e783..220d4c6 100644
--- a/modules/openstack_project/manifests/grafana.pp
+++ b/modules/openstack_project/manifests/grafana.pp
@@ -70,14 +70,22 @@ class openstack_project::grafana (
70 template => 'openstack_project/grafana.vhost.erb', 70 template => 'openstack_project/grafana.vhost.erb',
71 } 71 }
72 72
73 httpd_mod { 'rewrite': 73 if ! defined(Httpd::Mod['rewrite']) {
74 ensure => present, 74 httpd::mod { 'rewrite':
75 ensure => present,
76 }
75 } 77 }
76 httpd_mod { 'proxy': 78
77 ensure => present, 79 if ! defined(Httpd::Mod['proxy']) {
80 httpd::mod { 'proxy':
81 ensure => present,
82 }
78 } 83 }
79 httpd_mod { 'proxy_http': 84
80 ensure => present, 85 if ! defined(Httpd::Mod['proxy_http']) {
86 httpd::mod { 'proxy_http':
87 ensure => present,
88 }
81 } 89 }
82 90
83 class { '::project_config': 91 class { '::project_config':