Compare commits
14 commits
d7e7e260c2
...
45ac19bec8
Author | SHA1 | Date | |
---|---|---|---|
Micke Nordin | 45ac19bec8 | ||
Micke Nordin | a74899332e | ||
Micke Nordin | d63c586998 | ||
Micke Nordin | beb69036a1 | ||
Micke Nordin | 74af996a76 | ||
Micke Nordin | e76c22f6d5 | ||
Micke Nordin | b065ac7ae6 | ||
Micke Nordin | 019a3d9792 | ||
Micke Nordin | 6224fe3e96 | ||
Micke Nordin | cc2a9e9ebf | ||
Micke Nordin | daa647beb9 | ||
Micke Nordin | 1ecf6c8128 | ||
Micke Nordin | 4111ac7500 | ||
Micke Nordin | 8b0d90e4eb |
|
@ -19,9 +19,6 @@ class sunetdrive::multinode_db(){
|
||||||
notify { 'hostmessage':
|
notify { 'hostmessage':
|
||||||
message => 'We are on multinode-db1. Set up statistics environment.',
|
message => 'We are on multinode-db1. Set up statistics environment.',
|
||||||
}
|
}
|
||||||
$custdata=$customers.reduce({}) |$memo, $value| {
|
|
||||||
$memo + {$value => lookup($value)}
|
|
||||||
}
|
|
||||||
$rclone_url = 'https://downloads.rclone.org/rclone-current-linux-amd64.deb'
|
$rclone_url = 'https://downloads.rclone.org/rclone-current-linux-amd64.deb'
|
||||||
$local_path = '/tmp/rclone-current-linux-amd64.deb'
|
$local_path = '/tmp/rclone-current-linux-amd64.deb'
|
||||||
exec { 'rclone_deb':
|
exec { 'rclone_deb':
|
||||||
|
|
|
@ -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