Set permissions on redis
This commit is contained in:
parent
019a3d9792
commit
b065ac7ae6
|
@ -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-*/*'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue