Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jordiprats committed Aug 21, 2017
1 parent 9fce943 commit 6246723
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 0.1.5

* bugfix **redis::instance** service notifications with **daemonize** set to false

## 0.1.4

* added **daemonize** option to **redis::instance**
Expand Down
9 changes: 5 additions & 4 deletions manifests/instance.pp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
group => 'root',
mode => '0644',
require => File['/etc/redis'],
notify => Service["redis-${redis_instancename}"],
content => template("${module_name}/redisconf.erb"),
}
# notify => Service["redis-${redis_instancename}"],

if($daemonize)
{
Expand Down Expand Up @@ -93,11 +93,12 @@
if($manage_service)
{
service { "redis-${name}":
ensure => $ensure,
enable => $enable,
ensure => $ensure,
enable => $enable,
subscribe => File["/etc/redis/redis-${redis_instancename}.conf"],
}
}
}
}
}

}
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eyp-redis",
"version": "0.1.4",
"version": "0.1.5",
"author": "eyp",
"summary": "multi instance redis",
"license": "Apache-2.0",
Expand Down

0 comments on commit 6246723

Please sign in to comment.