From 361c41be0b0d99d8a3d7f95f284f9cf0b356690a Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Fri, 5 Apr 2013 14:41:52 +0300 Subject: [PATCH] wiki: Added dependency on python::m2crypto for collab --- python/manifests/init.pp | 16 ++++++++++++++++ wiki/manifests/init.pp | 1 + 2 files changed, 17 insertions(+) diff --git a/python/manifests/init.pp b/python/manifests/init.pp index 6191c63..47a29e3 100644 --- a/python/manifests/init.pp +++ b/python/manifests/init.pp @@ -22,6 +22,22 @@ class python { } +# Install m2crypto module for python. +# +class python::m2crypto { + + package { "m2crypto": + ensure => installed, + name => $::operatingsystem ? { + "debian" => "python-m2crypto", + "ubuntu" => "python-m2crypto", + default => "m2crypto", + } + } + +} + + # Install python software using setup.py. # # === Parameters diff --git a/wiki/manifests/init.pp b/wiki/manifests/init.pp index 913e9cc..7f5f19c 100644 --- a/wiki/manifests/init.pp +++ b/wiki/manifests/init.pp @@ -157,6 +157,7 @@ class wiki::collab { include igraph::python include graphviz::python include ldap::client::python + include python::m2crypto include apache::sslserver include apache::mod::authnz_ldap