Skip to content
This repository was archived by the owner on Oct 22, 2019. It is now read-only.
This repository was 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

Description

@solaris007

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions