job "test-simple" {
  datacenters = ["dc1"]
  type = "service"

  group "test" {
    count = 1

    constraint {
      attribute = "${node.unique.name}"
      value     = "warden"
    }

    task "test" {
      driver = "exec"
      
      config {
        command = "sleep"
        args = ["3600"]
      }

      resources {
        cpu    = 100
        memory = 64
      }
    }
  }
}

