Use absolute path in nodepool_template default value
This change allows using absolute paths for 'nodepool_template', instead of assuming that the templates will always live within 'openstack_project/manifests/nodepool'. Change-Id: I480188d23b338c4011fd614c7377cb4c7e244ab5 Closes-Bug: 1383719
This commit is contained in:
parent
aace25f971
commit
c5677205fa
@ -4,7 +4,7 @@ class openstack_project::nodepool_prod(
|
||||
$mysql_root_password,
|
||||
$mysql_password,
|
||||
$nodepool_ssh_private_key = '',
|
||||
$nodepool_template = 'nodepool.yaml.erb',
|
||||
$nodepool_template = 'openstack_project/nodepool/nodepool.yaml.erb',
|
||||
$sysadmins = [],
|
||||
$statsd_host = '',
|
||||
$jenkins_api_user ='',
|
||||
@ -49,7 +49,7 @@ class openstack_project::nodepool_prod(
|
||||
owner => 'nodepool',
|
||||
group => 'root',
|
||||
mode => '0400',
|
||||
content => template("openstack_project/nodepool/${nodepool_template}"),
|
||||
content => template($nodepool_template),
|
||||
require => [
|
||||
File['/etc/nodepool'],
|
||||
User['nodepool'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user