diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-19 16:39:02 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-19 16:39:02 +0100 |
commit | a55a5e4aa468d550fcdf5bbeafe42dea13773e37 (patch) | |
tree | a50a2c6a100394b5c643357d7094343b126d91f1 | |
parent | 98311fc2ea91cc2a5f00e9fa85a30f50fde77e79 (diff) | |
download | Puppet-a55a5e4aa468d550fcdf5bbeafe42dea13773e37.tar.gz Puppet-a55a5e4aa468d550fcdf5bbeafe42dea13773e37.tar.zst Puppet-a55a5e4aa468d550fcdf5bbeafe42dea13773e37.zip |
Fix load error for puppet
-rw-r--r-- | modules/base_installation/lib/puppet/functions/ldap_data.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base_installation/lib/puppet/functions/ldap_data.rb b/modules/base_installation/lib/puppet/functions/ldap_data.rb index ff8d779..0c92d89 100644 --- a/modules/base_installation/lib/puppet/functions/ldap_data.rb +++ b/modules/base_installation/lib/puppet/functions/ldap_data.rb | |||
@@ -10,7 +10,7 @@ Puppet::Functions.create_function(:ldap_data) do | |||
10 | begin | 10 | begin |
11 | require 'ldap' | 11 | require 'ldap' |
12 | require 'puppet/util/ldap/connection' | 12 | require 'puppet/util/ldap/connection' |
13 | rescue | 13 | rescue LoadError |
14 | context.not_found | 14 | context.not_found |
15 | return | 15 | return |
16 | end | 16 | end |