.catalog:
  name: "Rabbit MQ"
  version: "0.2.0"
  decription: A reliable, distributed messaging broker
  questions: 
    - variable: "erlang_cookie"
      description: "Erlang cookie required for auth"
      label: "Erlang cookie:"
      required: true
      default: defaultcookiepleasechange
      type: "string"
    - variable: "cluster_partition_handling"
      label: "Partition Handling:"
      description: "Cluster partition handling mode"
      required: true
      type: "enum"
      default: autoheal
      options:
        - autoheal
        - ignore
        - pause_minority
    - variable: "net_ticktime"
      description: "Rabbitmq net ticktime setting"
      label: "Net ticktime:"
      required: false
      type: "int"
      default: 60
    - variable: "confd_args"
      description: "Confd additional args"
      label: "Confd args"
      required: false
      type: "string"
      default: --interval 5

rabbitmq:
  metadata:
    rabbitmq:
      config:
       node.name: "$${HOSTNAME}"
