mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 07:14:35 +02:00
Vagrant: slapd must be running, add provision hint to docs
For some reason the initial ldap provisioning might fail even after ensuring that slapd is running. Yet another `vagrant provision` will fix the issue. refs #9453
This commit is contained in:
parent
e06281a427
commit
f0fc8b8e90
@ -28,7 +28,7 @@ class openldap {
|
|||||||
exec { "slapd-schema-${schema}":
|
exec { "slapd-schema-${schema}":
|
||||||
command => "ldapadd -Y EXTERNAL -H ldapi:// -f /etc/openldap/schema/${schema}.ldif",
|
command => "ldapadd -Y EXTERNAL -H ldapi:// -f /etc/openldap/schema/${schema}.ldif",
|
||||||
group => 'root',
|
group => 'root',
|
||||||
require => Package['openldap-servers'],
|
require => [ Package['openldap-servers'], Service['slapd'] ],
|
||||||
unless => "test -n \"$(find /etc/openldap/slapd.d/cn=config/cn=schema/ -name cn={*}${schema}.ldif -print -quit)\"",
|
unless => "test -n \"$(find /etc/openldap/slapd.d/cn=config/cn=schema/ -name cn={*}${schema}.ldif -print -quit)\"",
|
||||||
user => 'root',
|
user => 'root',
|
||||||
}
|
}
|
||||||
|
@ -24,6 +24,8 @@ vagrant up
|
|||||||
> you'll download a plain CentOS base box and Vagrant will automatically
|
> you'll download a plain CentOS base box and Vagrant will automatically
|
||||||
> provision the environment on the first go.
|
> provision the environment on the first go.
|
||||||
|
|
||||||
|
If the LDAP schema import fails, rerun `vagrant provision`.
|
||||||
|
|
||||||
After you should be able to browse [localhost:8080/icingaweb2](http://localhost:8080/icingaweb2).
|
After you should be able to browse [localhost:8080/icingaweb2](http://localhost:8080/icingaweb2).
|
||||||
|
|
||||||
## Log into Icinga Web 2
|
## Log into Icinga Web 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user