aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/base/heat.pp
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-02-25 16:04:22 +0000
committerGerrit Code Review <review@openstack.org>2017-02-25 16:04:22 +0000
commit9a8ca3a1dae82d2203037d59584c2f4276821fcd (patch)
tree646f0fd54e428a0d20ba1df02fe128fdc14fc41d /manifests/profile/base/heat.pp
parentccc5ff05bafbb3a3dd60752e8903f92fe7e11611 (diff)
parentd0e69f73c1839e9101fd825ae0019f38d624e49f (diff)
Merge "Remove the string cast for using transport_url"
Diffstat (limited to 'manifests/profile/base/heat.pp')
-rw-r--r--manifests/profile/base/heat.pp6
1 files changed, 2 insertions, 4 deletions
diff --git a/manifests/profile/base/heat.pp b/manifests/profile/base/heat.pp
index 171f51b..4ff5b41 100644
--- a/manifests/profile/base/heat.pp
+++ b/manifests/profile/base/heat.pp
@@ -107,14 +107,12 @@ class tripleo::profile::base::heat (
$oslomsg_use_ssl_real = sprintf('%s', bool2num(str2bool($oslomsg_use_ssl)))
- # TODO(ccamacho): remove sprintf once we properly type the port, needs
- # to be a string for the os_transport_url function.
class { '::heat' :
notification_driver => $notification_driver,
default_transport_url => os_transport_url({
'transport' => $oslomsg_rpc_proto,
'hosts' => $oslomsg_rpc_hosts,
- 'port' => sprintf('%s', $oslomsg_rpc_port),
+ 'port' => $oslomsg_rpc_port,
'username' => $oslomsg_rpc_username,
'password' => $oslomsg_rpc_password,
'ssl' => $oslomsg_use_ssl_real,
@@ -122,7 +120,7 @@ class tripleo::profile::base::heat (
notification_transport_url => os_transport_url({
'transport' => $oslomsg_notify_proto,
'hosts' => $oslomsg_notify_hosts,
- 'port' => sprintf('%s', $oslomsg_notify_port),
+ 'port' => $oslomsg_notify_port,
'username' => $oslomsg_notify_username,
'password' => $oslomsg_notify_password,
'ssl' => $oslomsg_use_ssl_real,