Files
containers/.vib/neo4j/goss/neo4j.yaml
Carlos Rodríguez Hernández 45d7897631 [bitnami/*] Set new header/owner (#66218)
Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
2024-05-06 15:06:33 +02:00

28 lines
715 B
YAML

# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
file:
# Check config files
/opt/bitnami/neo4j/conf/apoc.conf:
exists: true
filetype: file
mode: "0664"
contents:
- /file\.enabled.*true/
/opt/bitnami/neo4j/conf/neo4j.conf:
exists: true
filetype: file
contents:
{{ if regexMatch "^4.+" .Env.APP_VERSION }}
- /dbms\.directories\.data.*\/bitnami\/neo4j\/data/
{{ else if regexMatch "^5.+" .Env.APP_VERSION }}
- /server\.directories\.data.*\/bitnami\/neo4j\/data/
{{ end }}
command:
check-neo4j-daemon:
exec: neo4j start; neo4j status
exit-status: 0
timeout: 30000
stdout:
- "Neo4j is running"