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