Don't manage salsa's /run/redis
authorJulien Cristau <jcristau@debian.org>
Tue, 7 Aug 2018 08:44:49 +0000 (10:44 +0200)
committerJulien Cristau <jcristau@debian.org>
Tue, 7 Aug 2018 08:46:55 +0000 (10:46 +0200)
Permissions conflicts with the package's
/usr/lib/tmpfiles.d/redis-server.conf so we keep changing them and
restarting the service needlessly.

modules/salsa/manifests/redis.pp

index 6a438f6..8e84ce0 100644 (file)
@@ -15,14 +15,6 @@ class salsa::redis inherits salsa {
                source => "puppet:///modules/salsa/redis.conf",
                notify  => Service['redis-server'],
                require => Package['redis-server'],
-       } 
-
-       file { "/var/run/redis":
-               ensure => "directory",
-               mode => "750",
-               owner => redis,
-               group => redis,
-               notify  => Service['redis-server'],
        }
 
        exec { 'add-git-user-to-redis':