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
This commit is contained in:
Clark Boylan 2014-07-03 15:44:16 -07:00
parent ce2bc2bf12
commit 714c179c0e

View File

@ -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':