diff --git a/manifests/multinode.pp b/manifests/multinode.pp index 7c9bfcd..16168b4 100644 --- a/manifests/multinode.pp +++ b/manifests/multinode.pp @@ -415,7 +415,7 @@ MACAddressPolicy=none' if $::facts['sunet_nftables_enabled'] == 'yes' { $name = "https_port_${customer}" ensure_resource('sunet::nftables::ufw_allow_compat', $name, { - from => ['0.0.0.0', '::/0'], + from => ['0.0.0.0/0', '::/0'], port => $https_port, }) } else { diff --git a/manifests/multinode_db.pp b/manifests/multinode_db.pp index c4aef52..1a2a817 100644 --- a/manifests/multinode_db.pp +++ b/manifests/multinode_db.pp @@ -19,6 +19,9 @@ class sunetdrive::multinode_db(){ notify { 'hostmessage': 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' $local_path = '/tmp/rclone-current-linux-amd64.deb' exec { 'rclone_deb':