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:
parent
18d142444d
commit
8cbbd4ced6
|
@ -2,7 +2,7 @@ class packstack::redis ()
|
||||||
{
|
{
|
||||||
create_resources(packstack::firewall, hiera('FIREWALL_REDIS_RULES', {}))
|
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')
|
$redis_host = hiera('CONFIG_REDIS_HOST')
|
||||||
|
|
||||||
class { '::redis':
|
class { '::redis':
|
||||||
|
|
Loading…
Reference in New Issue