diff --git a/manifests/init.pp b/manifests/init.pp index 28f56b1..5fa25ca 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -35,6 +35,7 @@ #server options $allow_remote_connections = true, + $address = $ipaddress, $jvm_init_memory = '1024', $jvm_max_memory = '1024', diff --git a/templates/neo4j-server.properties.erb b/templates/neo4j-server.properties.erb index 0383ef1..a5cf922 100644 --- a/templates/neo4j-server.properties.erb +++ b/templates/neo4j-server.properties.erb @@ -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)