Skip to content
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.

LDAP Server: Installation Error Due Missing "openldap" User When Using SSL #23

Open
solaris007 opened this issue Nov 14, 2013 · 0 comments
Assignees
Labels

Comments

@solaris007
Copy link

using the same manifest as in #22 but this time with the slapd package never having been on the system before (thus no openldap user), installation fails as the module is trying to chown the ssl files using the openldap user before having installed the slapd package:

debug: /Stage[main]/Ldap::Server::Master/Exec[Server certificate hash]/require: requires File[ssl_cert]
debug: /Stage[main]/Ldap::Server::Master/Service[slapd]/require: requires Package[slapd]
debug: /Stage[main]/Ldap::Server::Master/Service[slapd]/require: requires File[/etc/ldap/slapd.conf]
debug: /Stage[main]/Ldap::Server::Debian/File[/etc/default/slapd]/notify: subscribes to Service[slapd]
debug: /Stage[main]/Ldap::Server::Master/File[/etc/ldap/slapd.conf]/require: requires Package[slapd]
debug: /Stage[main]/Ldap::Server::Master/File[/etc/ldap/slapd.conf]/require: requires File[ssl_ca]
debug: /Stage[main]/Ldap::Server::Master/File[/etc/ldap/slapd.conf]/require: requires File[ssl_cert]
debug: /Stage[main]/Ldap::Server::Master/File[/etc/ldap/slapd.conf]/require: requires File[ssl_key]
debug: /Stage[main]/Ldap::Server::Master/File[/etc/ldap/slapd.conf]/notify: subscribes to Service[slapd]
debug: /Schedule[daily]: Skipping device resources because running on a host
debug: /Schedule[monthly]: Skipping device resources because running on a host
debug: /Schedule[hourly]: Skipping device resources because running on a host
info: mount[files]: allowing 127.0.0.1 access
err: /Stage[main]/Ldap::Server::Master/File[ssl_ca]/ensure: change from absent to file failed: Could not set 'file on ensure: Could not find user openldap at /etc/puppet/modules/ldap/manifests/server/master.pp:191
err: /Stage[main]/Ldap::Server::Master/File[ssl_key]/ensure: change from absent to file failed: Could not set 'file on ensure: Could not find user openldap at /etc/puppet/modules/ldap/manifests/server/master.pp:206
err: /Stage[main]/Ldap::Server::Master/File[ssl_cert]/ensure: change from absent to file failed: Could not set 'file on ensure: Could not find user openldap at /etc/puppet/modules/ldap/manifests/server/master.pp:199

nevertheless the slapd package seems to be installed. executing puppet apply a second time, the installation goes smoothly.

@torian torian added the bug label Apr 29, 2014
@torian torian self-assigned this Apr 29, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants