Browse Source

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
Javier Pena 1 month ago
parent
commit
8cbbd4ced6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      packstack/puppet/modules/packstack/manifests/redis.pp

+ 1
- 1
packstack/puppet/modules/packstack/manifests/redis.pp View File

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

Loading…
Cancel
Save