Skip to content

Commit 201fdfa

Browse files
committed
clarify /etc/hosts caveat, needed for local integration tests
the container uses HOSTNAME to generate the cert, and it really didn't like "localhost" as hostname. As a workaround, I had to add an arbitrary hostname. There may be other alternatives to get the host to be known, but the most obvious is modifying /etc/hosts
1 parent 8ba87b3 commit 201fdfa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.rdoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ Simply run:
5959
script/ldap-docker
6060
INTEGRATION=openldap rake test
6161

62+
CAVEAT: you need to add the following line to /etc/hosts
63+
127.0.0.1 ldap.example.org
64+
6265
== Release
6366

6467
This section is for gem maintainers to cut a new version of the gem.

0 commit comments

Comments
 (0)