Displaying 1 result from an estimated 1 matches for "slaveof".
Did you mean:
slave
2012 Sep 05
6
Weird variable dependency issue + different behavior between master/masterless
...etc/redis/redis.conf":
ensure => file,
owner => "root",
group => "root",
mode => "0644",
content => template("redis/redis.conf.erb"),
}
And redis.conf.erb contains :
<% if master_host -%>
slaveof <%= master_host %> <%= master_port %>
<% end -%>
When the hostname matches the regexp, here''s what I get in redis.conf
depending on how I run puppet :
- If I run puppet masterless using "puppet apply testing.pp" (with
testing.pp being a simple manifest tha...