From ab3cb2b3bf95cde5c1f500357de1b25175cacaa2 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 29 Oct 2020 11:53:17 -0700 Subject: [PATCH] puppet: Fix internal redis puppet configuration. The inherits rule is required for overriding existing configuration files; while the `::profile` piece was missed in the recent ::profile migration. --- puppet/zulip_ops/manifests/profile/redis.pp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/puppet/zulip_ops/manifests/profile/redis.pp b/puppet/zulip_ops/manifests/profile/redis.pp index ea515a856e..c814945ee0 100644 --- a/puppet/zulip_ops/manifests/profile/redis.pp +++ b/puppet/zulip_ops/manifests/profile/redis.pp @@ -1,5 +1,4 @@ -class zulip_ops::profile::redis { - include zulip_ops::profile::base +class zulip_ops::profile::redis inherits zulip_ops::profile::base { include zulip::profile::redis # Need redis_password in its own file for Nagios @@ -8,6 +7,6 @@ class zulip_ops::profile::redis { mode => '0600', owner => 'nagios', group => 'nagios', - content => "${zulip::redis::redis_password}\n", + content => "${zulip::profile::redis::redis_password}\n", } }