#542 ✓wontfix
Marc David Rovner

Allow multiple values for node filters

Reported by Marc David Rovner | 2012-03-13 15:05:55 UTC

  • Issue Type: Improvement
  • Rundeck version: 1.4.1

Issue:

non-tag fields in node filters do not appear to take multiple values. Lets say, I just want to select two hosts by name. AND/OR/+ do not appear to work in "name" filter field. There is no way to specify "another name" field. If I go into the xml, and modify the filter section as:

<nodefilters>
  <include>
    <name>somehost</name>
    <name>anotherhost</name>
  </include>
</nodefilters>

I get in the GUI, in the include filters section:

[somehost, anotherhost]


Reproduce: (Enter steps to reproduce bug here.)

Comments and changes to this ticket

  • Greg Schueler

    Greg Schueler 2012-04-26 10:44:53 UTC

    • Milestone order changed from “22” to “0”

    You can separate the values using a comma to select multiple hosts. Comma acts as boolean OR for the filter:

     <nodefilters>
      <include>
        <name>node1,node2,node3</name>
      </include>
    </nodefilters>
    

    Specifying multiple <name> entries should have a better effect, however.

  • Greg Schueler

    Greg Schueler 2012-04-26 16:39:12 UTC

    • Assigned user cleared.
    • Milestone cleared.
  • Greg Schueler

    Greg Schueler 2012-06-22 11:46:16 UTC

    • State changed from “new” to “wontfix”
    • Assigned user set to “Greg Schueler”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues

Shared Ticket Bins

People watching this ticket

Pages