diff --git a/manifests/params.pp b/manifests/params.pp index 7e0f092..db0fad1 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -95,8 +95,8 @@ $nfs_v4_idmap_nobody_group = 'nogroup' $client_rpcbind_optname = 'OPTIONS' - case $facts['os']['distro']['codename'] { - 'bullseye': { + case $facts['os']['name'] { + 'Debian': { $client_services = { 'rpcbind' => { ensure => 'running', enable => false, @@ -116,7 +116,7 @@ $server_service_name = 'nfs-kernel-server' $client_gssdopt_name = 'GSSDARGS' } - 'focal', 'jammy': { + 'Ubuntu': { $client_services = { 'rpcbind' => {} } $client_gssd_service_name = { 'rpc-gssd' => { ensure => 'running', diff --git a/metadata.json b/metadata.json index 761d9fe..9020301 100644 --- a/metadata.json +++ b/metadata.json @@ -22,7 +22,8 @@ "operatingsystem": "Ubuntu", "operatingsystemrelease": [ "20.04", - "22.04" + "22.04", + "24.04" ] }, {