Add Redis replica recipe and role
This commit is contained in:
15
roles/redis_replica.rb
Normal file
15
roles/redis_replica.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
name "redis_replica"
|
||||
|
||||
run_list %w(
|
||||
kosmos_redis::replica
|
||||
kosmos_redis::firewall
|
||||
)
|
||||
|
||||
default_attributes({
|
||||
'redisio' => {
|
||||
'default_settings' => {
|
||||
'slaveservestaledata' => 'yes',
|
||||
'slavereadonly' => 'yes'
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user