From e04178d0e34cdeb2abc3303a697d913b1d831e11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Fri, 19 Apr 2013 12:20:30 +0300 Subject: [PATCH] Fixed nfs::client for Ubuntu. --- nfs/manifests/init.pp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nfs/manifests/init.pp b/nfs/manifests/init.pp index 638d506..bcc61af 100644 --- a/nfs/manifests/init.pp +++ b/nfs/manifests/init.pp @@ -7,6 +7,10 @@ class nfs::client { package { "nfs-utils": ensure => installed, + name => $::operatingsystem ? { + "ubuntu" => "nfs-common", + default => "nfs-utils", + }, } if $::operatingsystem == "Fedora" and $::operatingsystemrelease >= 16 { @@ -23,6 +27,7 @@ class nfs::client { /^([1-9]|1[0-5])$/ => "nfslock", default => "nfs-lock", }, + "ubuntu" => "statd", default => "nfslock", }, ensure => running,