Showing with 3 additions and 5 deletions.
  1. +1 −1 metadata.json
  2. +2 −2 spec/classes/redis_spec.rb
  3. +0 −2 templates/redis.conf.erb
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "arioch-redis",
"version": "1.2.0",
"version": "1.2.1",
"author": "Tom De Vylder",
"summary": "Redis module",
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions spec/classes/redis_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -785,8 +785,8 @@
}
}

it { should contain_file('/etc/redis/redis.conf').with(
'content' => /cluster-enabled.*no/
it { should_not contain_file('/etc/redis/redis.conf').with(
'content' => /cluster-enabled.*/
)
}
end
Expand Down
2 changes: 0 additions & 2 deletions templates/redis.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -556,8 +556,6 @@ hz <%= @hz %>
cluster-enabled yes
cluster-config-file <%= @cluster_config_file %>
cluster-node-timeout <%= @cluster_node_timeout %>
<% else -%>
cluster-enabled no
<% end -%>


Expand Down