[Mageia-sysadm] [310] - fix packages name for non x86_64 ( such as my test vm )
root at mageia.org
root at mageia.org
Fri Nov 19 01:53:08 CET 2010
Revision: 310
Author: misc
Date: 2010-11-19 01:53:08 +0100 (Fri, 19 Nov 2010)
Log Message:
-----------
- fix packages name for non x86_64 ( such as my test vm )
Modified Paths:
--------------
puppet/modules/subversion/manifests/init.pp
Modified: puppet/modules/subversion/manifests/init.pp
===================================================================
--- puppet/modules/subversion/manifests/init.pp 2010-11-19 00:53:06 UTC (rev 309)
+++ puppet/modules/subversion/manifests/init.pp 2010-11-19 00:53:08 UTC (rev 310)
@@ -149,8 +149,13 @@
# 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"
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101119/88da2cfe/attachment.html>
More information about the Mageia-sysadm
mailing list