---
"Test put settings":
  - do:
      cluster.put_settings:
        body:
          transient:
            discovery.zen.minimum_master_nodes: 1
        flat_settings: true

  - match: {transient: {discovery.zen.minimum_master_nodes: "1"}}

  - do:
      cluster.get_settings:
        flat_settings: true

  - match: {transient: {discovery.zen.minimum_master_nodes: "1"}}
