name: consul
version: "0.7.1"
summary: Consul is a tool for service discovery, monitoring and configuration
description: |
  Consul is distributed, highly available, and extremely scalable.
  Consul provides service discovery, health checking, key/value storage and
  multi-datacenter.
grade: stable
confinement: strict

apps:
  consul:
    command: consul-snap
    plugs: [network, network-bind, tools]

plugs:
  tools:
    interface: content
    content: healthcheck-toolbox
    target: tools
    default-provider: healthcheck-toolbox-example:toolbox

parts:
  consul:
    source: https://github.com/hashicorp/consul.git
    plugin: go
    go-importpath: github.com/hashicorp/consul
  script:
    source: .
    plugin: dump
    snap: ["consul-snap", "tools"]

name: consul
version: "0.7.1"
summary: Consul is a tool for service discovery, monitoring and configuration
description: |
  Consul is distributed, highly available, and extremely scalable.
  Consul provides service discovery, health checking, key/value storage and
  multi-datacenter.
grade: stable
confinement: strict

apps:
  consul:
    command: consul-snap
    plugs: [network, network-bind, network-observe, tools]

plugs:
  tools:
    interface: content
    content: healthcheck-toolbox
    target: tools
    default-provider: healthcheck-toolbox-example:toolbox

parts:
  consul:
    source: https://github.com/hashicorp/consul.git
    plugin: go
    go-importpath: github.com/hashicorp/consul
  script:
    source: .
    plugin: dump
    snap: ["consul-snap", "tools"]

Add network-observe plug needs (optional) for ping
Add network-observe plug needs (optional) for ping

Ping requires the network-observe plugs for now, until we have a setuid-less
version available in the distro or a snap.
