From 9d4bb7c9351fc88923983f67675b266726a45445 Mon Sep 17 00:00:00 2001 From: Morgan Haskel Date: Mon, 20 Oct 2014 14:38:54 -0700 Subject: [PATCH] Update loadfile name for Ubuntu 10.04 --- manifests/mod/dav_svn.pp | 2 +- spec/acceptance/mod_dav_svn_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/mod/dav_svn.pp b/manifests/mod/dav_svn.pp index 36af06fa4..d13a7d886 100644 --- a/manifests/mod/dav_svn.pp +++ b/manifests/mod/dav_svn.pp @@ -5,7 +5,7 @@ include ::apache::mod::dav ::apache::mod { 'dav_svn': } - if $::osfamily == 'Debian' and $::operatingsystemmajrelease != '6' { + if $::osfamily == 'Debian' and ($::operatingsystemmajrelease != '6' and $::operatingsystemmajrelease != '10.04') { $loadfile_name = undef } else { $loadfile_name = 'dav_svn_authz_svn.load' diff --git a/spec/acceptance/mod_dav_svn_spec.rb b/spec/acceptance/mod_dav_svn_spec.rb index 90e0db563..28cd5705f 100644 --- a/spec/acceptance/mod_dav_svn_spec.rb +++ b/spec/acceptance/mod_dav_svn_spec.rb @@ -5,7 +5,7 @@ when 'Debian' mod_dir = '/etc/apache2/mods-available' service_name = 'apache2' - if fact('operatingsystemmajrelease') == '6' + if fact('operatingsystemmajrelease') == '6' or fact('operatingsystemmajrelease') == '10.04' authz_svn_load_file = 'dav_svn_authz_svn.load' else authz_svn_load_file = 'authz_svn.load'