aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-19 00:53:08 +0000
committerMichael Scherer <misc@mageia.org>2010-11-19 00:53:08 +0000
commit5fab78e3fe3504ef611f28b14cf6b230e5f96caf (patch)
tree6878ee5c8f2619fd14615985fcdbb0bcf1e0132c /modules/subversion/manifests
parent2c04927be4908828279d3af6d7eff1f5cc474fd9 (diff)
downloadpuppet-5fab78e3fe3504ef611f28b14cf6b230e5f96caf.tar
puppet-5fab78e3fe3504ef611f28b14cf6b230e5f96caf.tar.gz
puppet-5fab78e3fe3504ef611f28b14cf6b230e5f96caf.tar.bz2
puppet-5fab78e3fe3504ef611f28b14cf6b230e5f96caf.tar.xz
puppet-5fab78e3fe3504ef611f28b14cf6b230e5f96caf.zip
- fix packages name for non x86_64 ( such as my test vm )
Diffstat (limited to 'modules/subversion/manifests')
-rw-r--r--modules/subversion/manifests/init.pp9
1 files changed, 7 insertions, 2 deletions
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"
}
}