Skip to content

Commit

Permalink
Set debian 8 default database to mdb
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanevet committed Mar 29, 2015
1 parent fca3c32 commit 979321c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/puppet/type/openldap_database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@
defaultto do
case Facter.value(:osfamily)
when 'Debian'
'hdb'
if Facter.value(:operatingsystemmajrelease).to_i < 8
'hdb'
else
'mdb'
end
when 'RedHat'
if Facter.value(:operatingsystemmajrelease).to_i < 7
'bdb'
Expand Down

0 comments on commit 979321c

Please sign in to comment.