Set permissions on redis

This commit is contained in:
Micke Nordin 2024-10-21 16:13:51 +02:00
parent 3818772b87
commit 88c8e159bc
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -17,4 +17,10 @@ class sunetdrive::redis_cluster (
content => template('sunetdrive/redis_cluster/reset_cluster.erb.sh'), content => template('sunetdrive/redis_cluster/reset_cluster.erb.sh'),
mode => '0700', 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-*/*'
}
} }