Skip to content

Commit

Permalink
allow user defined ipaddress instead of only the default fact ipaddress
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Meyers committed Nov 22, 2015
1 parent c835b55 commit 0a63275
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

#server options
$allow_remote_connections = true,
$address = $ipaddress,
$jvm_init_memory = '1024',
$jvm_max_memory = '1024',

Expand Down
2 changes: 1 addition & 1 deletion templates/neo4j-server.properties.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ org.neo4j.server.database.location=<%= @install_prefix -%>/data/graph.db
# accept local connections). Uncomment to allow any connection. Please see the
# security section in the neo4j manual before modifying this.
<% if @allow_remote_connections -%>
org.neo4j.server.webserver.address=<%= @ipaddress %>
org.neo4j.server.webserver.address=<%= @address %>
<% end -%>

# http port (for all data, administrative, and UI access)
Expand Down

0 comments on commit 0a63275

Please sign in to comment.