file:
  /bitnami/zookeeper/data:
    exists: true
    filetype: directory
  /opt/bitnami/zookeeper/conf/zoo.cfg:
    exists: true
    filetype: file
    mode: "0644"
    contains:
      - {{ .Vars.containerPorts.client }}
      - preAllocSize={{ .Vars.preAllocSize }}
command:
  zookeeper-create-znode:
    exec: zkCli.sh -server zookeeper-0:{{ .Vars.containerPorts.client }} create /my_key_{{randAlpha 5}} my_data
    exit-status: 0
