diff --git a/manifests/redis_cluster.pp b/manifests/redis_cluster.pp index a567830..75c0fac 100644 --- a/manifests/redis_cluster.pp +++ b/manifests/redis_cluster.pp @@ -17,4 +17,10 @@ class sunetdrive::redis_cluster ( content => template('sunetdrive/redis_cluster/reset_cluster.erb.sh'), mode => '0700', } + exec { 'set_permissions_directory': + command => 'chown -R 999:root /opt/redis/node-*' + } + exec { 'set_permissions_files': + command => 'chown -R 999:99 /opt/redis/node-*/*' + } }