Ask Your Question
0

How do I configure camptocamp-openldap in hiera?

asked 2014-06-03 12:55:32 -0500

zogman gravatar image

My puppetmaster (3.4.3 (Puppet Enterprise 3.2.3)) can't compile a catalog containing the camptocamp-openldap (v0.2.0) module. I was trying to set up a site_openldap module based on the camptocamp-openldap but I kept seeing:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class openldap for vmtest2.e-derp.com on node vmtest2.e-derp.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run

So I moved aside the site_openldap dir (to /root) and tried to call the module as-is. Here are my common.yaml lines pertaining to openldap:

classes:
  - site_sudo
  - ntp
  - limits
  - site_sshkeys
  - openldap

I tried adding the openldap class to the puppetmaster using the web interface "console" but that didn't help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-06-07 14:25:27 -0500

updated 2014-06-07 14:29:13 -0500

There is no init.pp for camptocamp's openldap module. Use client or server accordingly.

 classes:
   - site_sudo
   - ntp
   - limits
   - site_sshkeys
   - openldap::server
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-06-03 12:55:32 -0500

Seen: 250 times

Last updated: Jun 07 '14