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:
parent
ce2bc2bf12
commit
714c179c0e
@ -130,12 +130,12 @@ class openstack_project::static (
|
|||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/os_loganalyze/wsgi.conf':
|
file { '/etc/os_loganalyze/wsgi.conf':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
group => 'www-data',
|
group => 'www-data',
|
||||||
mode => '0440',
|
mode => '0440',
|
||||||
template => 'openstack_project/os-loganalyze-wsgi.conf.erb',
|
content => template('openstack_project/os-loganalyze-wsgi.conf.erb'),
|
||||||
require => File['/etc/os_loganalyze'],
|
require => File['/etc/os_loganalyze'],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/srv/static/logs/help':
|
file { '/srv/static/logs/help':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user