Cast redis port to Integer for use with puppet-redis

puppet-redis has recently started requesting the port parameter to
be an integer [1].

[1] - 8134de7d32

Change-Id: I0346ff4d6c59a99cbec596a68cc9c27a68add415
This commit is contained in:
Javier Pena 2019-03-14 12:45:02 +01:00 committed by Javier Peña
parent 18d142444d
commit 8cbbd4ced6
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ class packstack::redis ()
{
create_resources(packstack::firewall, hiera('FIREWALL_REDIS_RULES', {}))
$redis_port = hiera('CONFIG_REDIS_PORT')
$redis_port = Integer(hiera('CONFIG_REDIS_PORT'))
$redis_host = hiera('CONFIG_REDIS_HOST')
class { '::redis':