{
  "patterns": ["\\bmongodb\\b", "\\bmongo\\b"],
  "dependencies": [
    {
      "packages": ["mongodb"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "ubuntu",
          "versions": ["18.04", "20.04"]
        }
      ]
    },
    {
      "packages": ["mongodb"],
      "pre_install": [
        {
          "command": "yum install -y epel-release"
        }
      ],
      "constraints": [
        {
          "os": "linux",
          "distribution": "centos",
          "versions": ["6"]
        }
      ]
    },
    {
      "packages": ["mongodb"],
      "pre_install": [
        {
          "command": "rpm -q epel-release || yum install -y https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/epel-release-6-8.noarch.rpm"
        }
      ],
      "constraints": [
        {
          "os": "linux",
          "distribution": "redhat",
          "versions": ["6"]
        }
      ]
    },
    {
      "packages": ["mongodb"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "opensuse",
          "versions": ["42.3"]
        }
      ]
    },
    {
      "packages": ["mongodb-tools"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "alpine"
        }
      ]
    }
  ]
}
