From 714c179c0e6975b628916b47cc16d60ceb872b1b Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 3 Jul 2014 15:44:16 -0700 Subject: [PATCH] File resources use content not template. Make the static.o.o os_loganalyze wsgi.conf file resource use content parameter with the template() function as template is not a valid parameter for this resource. Change-Id: Ic9e71b47bb6b9db99342d368d547c95f9d0fd8d1 --- modules/openstack_project/manifests/static.pp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/openstack_project/manifests/static.pp b/modules/openstack_project/manifests/static.pp index 07cf01663a..1ae33c9fea 100644 --- a/modules/openstack_project/manifests/static.pp +++ b/modules/openstack_project/manifests/static.pp @@ -130,12 +130,12 @@ class openstack_project::static ( } file { '/etc/os_loganalyze/wsgi.conf': - ensure => present, - owner => 'root', - group => 'www-data', - mode => '0440', - template => 'openstack_project/os-loganalyze-wsgi.conf.erb', - require => File['/etc/os_loganalyze'], + ensure => present, + owner => 'root', + group => 'www-data', + mode => '0440', + content => template('openstack_project/os-loganalyze-wsgi.conf.erb'), + require => File['/etc/os_loganalyze'], } file { '/srv/static/logs/help':