Score:0

How to activate the Puppet.debug output in external modules

sd flag

I'm trying this Puppet module https://github.com/voxpupuli/puppet-ldapquery, and can't make it work. It's like my LDAP query does not return anything ( I tried it with ldapsearch and it works ). No error message, nothing...

I looked into the ruby code, and noticed these Puppet.debug functions in it :

Puppet.debug("ldapquery(): Searching #{@base} for #{@attributes} using #{@filter} took #{time_delta} seconds and returned #{entries.length} results")

So I tried to activate the log_level = debug on the master and client, but still can't get this output. Any idea on how to get these debug messages please ?

Thanks

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.