hi i've tried to expose the ldap enc as command/face to call `puppet ldap_enc` with node_terminus=exe as a workaround for the SERVER-711 issue in puppetserver.
It works somehow but i've encountered 2 problems: * Puppet::Node.indirection.find(certname) returns the parameters merged with all the facts. Is it possible to prevent this merging somehow? Or is it even the right function to call for that? :) * it does not read settings like the the master applications. so I needed to set the ldap parameters in the main section of puppet.conf. How would one set the run_mode to the same as the master application? tried to add run_mode = :master in application/ldap_enc.rb but "puppet ldap_enc info" still shows run mode: user. - Thomas code: * face: https://github.com/vinzent/puppet-ldap_enc_face/blob/master/lib/puppet/face/ldap_enc.rb * application https://github.com/vinzent/puppet-ldap_enc_face/blob/master/lib/puppet/application/ldap_enc.rb https://tickets.puppetlabs.com/browse/SERVER-711 https://docs.puppet.com/guides/ldap_nodes.html -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/7091176e-663e-4a1d-a867-3b200a661b72%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
