Skip to content

Commit

Permalink
Make notification of service optional
Browse files Browse the repository at this point in the history
Prevent catalog failures in cases where service_manage is
not enabled
  • Loading branch information
michaeltchapman committed Mar 18, 2016
1 parent 22ad4e0 commit d9e2abf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,8 @@
"cp -p ${::redis::config_file_orig} ${::redis::config_file}":
path => '/usr/bin:/bin',
subscribe => File[$::redis::config_file_orig],
notify => Service[$::redis::service_name],
refreshonly => true;
}
} ~> Service <| title == $::redis::service_name |>

# Adjust /etc/default/redis-server on Debian systems
case $::osfamily {
Expand Down

0 comments on commit d9e2abf

Please sign in to comment.