Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

puppet: Rename redis reconfiguration Exec to better name.

Alex Vandiver0f67aa1ab269
diff --git a/puppet/zulip/manifests/profile/redis.pp b/puppet/zulip/manifests/profile/redis.pp
index dd17937f887..775e6411fce 100644
--- a/puppet/zulip/manifests/profile/redis.pp
+++ b/puppet/zulip/manifests/profile/redis.pp
@@ -22,7 +22,7 @@ class zulip::profile::redis {
$file = "${redis_dir}/redis.conf"
$zulip_redisconf = "${redis_dir}/zulip-redis.conf"
$line = "include ${zulip_redisconf}"
- exec { 'redis':
+ exec { 'update-redis-conf':
unless => "/bin/grep -Fxqe '${line}' '${file}'",
path => '/bin',
command => "bash -c \"(/bin/echo; /bin/echo '# Include Zulip-specific configuration'; /bin/echo '${line}') >> '${file}'\"",
@@ -65,7 +65,7 @@ class zulip::profile::redis {
],
subscribe => [
File[$zulip_redisconf],
- Exec['redis'],
+ Exec['update-redis-conf'],
],
}
}