mirror of
https://github.com/philippdieter/puppet-ldapquery.git
synced 2025-10-13 04:54:47 +00:00
Set some defaults
This commit is contained in:
parent
e1c10d2456
commit
b29db3b7ca
@ -15,5 +15,8 @@ Puppet::Parser::Functions.newfunction(:ldapquery,
|
||||
|
||||
filter, attributes, base = args
|
||||
|
||||
attributes ||= []
|
||||
base ||= Puppet[:ldapbase]
|
||||
|
||||
return PuppetX::LDAPquery.new(filter, attributes, base).results
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user