Skip to content

Instantly share code, notes, and snippets.

@talbright
Created August 19, 2015 17:26
Show Gist options
  • Save talbright/517775b2c7054df7c5f1 to your computer and use it in GitHub Desktop.
Save talbright/517775b2c7054df7c5f1 to your computer and use it in GitHub Desktop.
diff --git i/hieradata/environment/staging/desk_redis.yaml w/hieradata/environment/staging/desk_redis.yaml
index a80c901..7005017 100644
--- i/hieradata/environment/staging/desk_redis.yaml
+++ w/hieradata/environment/staging/desk_redis.yaml
@@ -1,5 +1,9 @@
---
desk_redis::configuration::redis_cluster_a_master: 'rks-a-00-master.deskstaging.com 6379'
+desk_redis::configuration::redis_cluster_a_master_host: 'rks-a-00-master.deskstaging.com'
+desk_redis::configuration::redis_cluster_a_master_port: '6379'
desk_redis::configuration::redis_cluster_a_proxy: 'rks-a-00-proxy.deskstaging.com 6379'
+desk_redis::configuration::redis_cluster_a_proxy_host: 'rks-a-00-proxy.deskstaging.com'
+desk_redis::configuration::redis_cluster_a_proxy_port: '6379'
desk_redis::configuration::redis_cluster_a_sentinel: 'rks-a-00-use1b-01.deskstaging.com'
desk_redis::credentials::redis_cluster_a_pass: ENC[PKCS7,MIIBqQYJKoZIhvcNAQcDoIIBmjCCAZYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAI5JqbNfcX81Gqn/5jQPwY8PLfDfb3AxV2cBXxvFDKG8mP2DbNVqsSRQr
diff --git i/modules/desk_redis/manifests/configuration.pp w/modules/desk_redis/manifests/configuration.pp
index 5e0b326..5985882 100644
--- i/modules/desk_redis/manifests/configuration.pp
+++ w/modules/desk_redis/manifests/configuration.pp
@@ -1,6 +1,10 @@
class desk_redis::configuration (
$redis_cluster_a_master = '',
+ $redis_cluster_a_master_host = '',
+ $redis_cluster_a_master_port = '',
$redis_cluster_a_proxy = '',
+ $redis_cluster_a_proxy_host = '',
+ $redis_cluster_a_proxy_port = '',
$redis_cluster_a_sentinel = '',
){}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment