Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

puppet-redis || every time when puppet runs, the service restarts #59

Closed
x86nick opened this issue Sep 24, 2015 · 2 comments
Closed

puppet-redis || every time when puppet runs, the service restarts #59

x86nick opened this issue Sep 24, 2015 · 2 comments

Comments

@x86nick
Copy link

x86nick commented Sep 24, 2015

Hi Arioch,

As soon as puppet runs it overwrites the redis.conf and trigger the restart.
I am missing something here and i am not sure how to tell puppet not to overwrite the redis.conf every time ?

Note that you must specify a directory here, not a file name.

-dir "/var/lib/redis"
+dir /var/lib/redis/

################################# REPLICATION #################################

@@ -388,7 +390,7 @@

rewrite feature.

auto-aof-rewrite-percentage 100
-auto-aof-rewrite-min-size 0
+auto-aof-rewrite-min-size 64min

################################ LUA SCRIPTING ###############################

@@ -526,6 +528,3 @@

include /path/to/other.conf

include /etc/redis/redis-custom.conf

-# Generated by CONFIG REWRITE
-slaveof x.x.x.x 6379
-min-slaves-to-write 1

Info: /Stage[main]/Redis::Config/File[/etc/redis/redis.conf]: Filebucketed /etc/redis/redis.conf to main with sum 24086ae26aeb2008676489bf49a48260

Notice: /Stage[main]/Redis::Config/File[/etc/redis/redis.conf]/content: content changed '{md5}24086ae26aeb2008676489bf49a48260' to '{md5}fe6acd8504391c2f6a91304d4c1f3931'

@arioch
Copy link
Contributor

arioch commented Oct 14, 2015

That's pretty annoying.
Did you manually adjust the configuration at runtime?

@petems
Copy link
Member

petems commented Dec 3, 2016

Closing as it's been over a year with no response, can re-open if needed

@petems petems closed this as completed Dec 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants