Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.3
    • 1.2.3
    • None
    • None

    Description

      In addition to creating a host override, provide the ability to disable it.

      Attachments

        1. AMBARI-1627.patch
          9 kB
          Nate Cole

        Activity

          ncole@hortonworks.com Nate Cole added a comment -

          Uploaded patch.

          ncole@hortonworks.com Nate Cole added a comment - Uploaded patch.
          tbeerbower Tom Beerbower added a comment -

          +1

          tbeerbower Tom Beerbower added a comment - +1
          ncole@hortonworks.com Nate Cole added a comment -

          Committed revision 1457120.

          ncole@hortonworks.com Nate Cole added a comment - Committed revision 1457120.
          ncole@hortonworks.com Nate Cole added a comment -

          Here is the way you would clear an override:

          PUT /api/v1/hosts/h1
          {
            "Hosts": {
              "desired_config": {
                "type": "global",
                "tag": "version1363296798010_nate.dev.com",
                "selected": false
              }
            }
          

          The tag and version must match in order to disable the configuration, and the selected flag must already be active. Otherwise, adding "selected": false has no effect.

          ncole@hortonworks.com Nate Cole added a comment - Here is the way you would clear an override: PUT /api/v1/hosts/h1 { "Hosts": { "desired_config": { "type": "global", "tag": "version1363296798010_nate.dev.com", "selected": false } } The tag and version must match in order to disable the configuration, and the selected flag must already be active. Otherwise, adding "selected": false has no effect.

          People

            ncole@hortonworks.com Nate Cole
            ncole@hortonworks.com Nate Cole
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: