Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL matching for control commands #288

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 1, 2021

  1. URL matching for control commands

    This patch allows all commands to accept not only an exact ID match but
    also search patterns for matching URLs. This allows for a much easier
    control of groups of servers instead of having to find out the servers
    identifier every time and then handle each server indivifually.
    
    For example, you can run the following command to enbale multiple
    servers:
    
        ./bin/rake 'servers:enable[bbb0\[1-5\].lkiesow.io]'
    
    You can still use exact identifier matches though and the identifiers
    will always be checked before checking the URL. Hence, you still can use
    a command like:
    
        ./bin/rake 'servers:disable[a18201ec-f090-4bff-aaac-d0f5ab003f42]'
    
    This closes blindsidenetworks#205 which was trying to solve the same problem by using the
    host manes as server identifier instead. That shouldn't be necessary any
    longer when this patch is applied.
    lkiesow committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    fc08449 View commit details
    Browse the repository at this point in the history