From 5fab78e3fe3504ef611f28b14cf6b230e5f96caf Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 19 Nov 2010 00:53:08 +0000 Subject: - fix packages name for non x86_64 ( such as my test vm ) --- modules/subversion/manifests/init.pp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'modules/subversion') diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp index cfcb9f98..dbc11edc 100644 --- a/modules/subversion/manifests/init.pp +++ b/modules/subversion/manifests/init.pp @@ -149,8 +149,13 @@ class subversion { # svn spam log with # Oct 26 13:30:01 valstar svn: No worthy mechs found # without it, source http://mail-index.netbsd.org/pkgsrc-users/2008/11/23/msg008706.html - # - package {"lib64sasl2-plug-anonymous": + # + $sasl2_package = $architecture ? { + x86_64 => "lib64sasl2-plug-anonymous", + default => "libsasl2-plug-anonymous" + } + + package {"$sasl2_package": ensure => "installed" } } -- cgit v1.2.1