Merge branch 'stable'

This commit is contained in:
Micke Nordin 2024-12-24 15:58:31 +01:00
commit 2c58c02864
2 changed files with 4 additions and 1 deletions

View file

@ -415,7 +415,7 @@ MACAddressPolicy=none'
if $::facts['sunet_nftables_enabled'] == 'yes' { if $::facts['sunet_nftables_enabled'] == 'yes' {
$name = "https_port_${customer}" $name = "https_port_${customer}"
ensure_resource('sunet::nftables::ufw_allow_compat', $name, { ensure_resource('sunet::nftables::ufw_allow_compat', $name, {
from => ['0.0.0.0', '::/0'], from => ['0.0.0.0/0', '::/0'],
port => $https_port, port => $https_port,
}) })
} else { } else {

View file

@ -19,6 +19,9 @@ 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':