{
  "name": "mongodb-singlenode",
  "description": "Single-node single-instance MongoDB",
  "defaults": {
    "services": [
      "base",
      "mongodb-single"
    ],
    "provider": "rackspace",
    "hardwaretype": "medium",
    "imagetype": "ubuntu12",
    "config": {
      "mongodb": {
        "config": {
          "bind_ip": "%ip.bind_v4.service.mongodb-single%"
        }
      }
    }
  },
  "compatibility": {
    "hardwaretypes": [
      "small",
      "medium",
      "large",
      "xlarge",
      "xxlarge"
    ],
    "imagetypes": [
      "centos6",
      "ubuntu12"
    ],
    "services": [
      "base",
      "mongodb-single"
    ]
  },
  "constraints": {
    "layout": {
      "mustcoexist": [
        [ "base", "mongodb-single" ]
      ]
    },
    "services": {
      "mongodb-single": {
        "quantities": {
          "max": "1"
        }
      }
    }
  },
  "administration": {
    "leaseduration": {
      "initial":0,
      "max":0,
      "step":0
    }
  }
}

{
  "name": "mongodb-singlenode",
  "description": "Single-node single-instance MongoDB",
  "defaults": {
    "services": [
      "base",
      "mongodb-single"
    ],
    "provider": "rackspace",
    "hardwaretype": "medium",
    "imagetype": "ubuntu12",
    "config": {
      "mongodb": {
        "config": {
          "bind_ip": "%ip.bind_v4.service.mongodb-single%",
          "dbpath": "/data/mongodb"
        }
      }
    }
  },
  "compatibility": {
    "hardwaretypes": [
      "small",
      "medium",
      "large",
      "xlarge",
      "xxlarge"
    ],
    "imagetypes": [
      "centos6",
      "ubuntu12"
    ],
    "services": [
      "base",
      "mongodb-single"
    ]
  },
  "constraints": {
    "layout": {
      "mustcoexist": [
        [ "base", "mongodb-single" ]
      ]
    },
    "services": {
      "mongodb-single": {
        "quantities": {
          "max": "1"
        }
      }
    }
  },
  "administration": {
    "leaseduration": {
      "initial":0,
      "max":0,
      "step":0
    }
  }
}

Set mongodb's dbpath to /data/mongodb
Set mongodb's dbpath to /data/mongodb
