I’m trying to find all nodes which don’t have /srv as a mount point, doing:
knife search node -i “os:linux AND NOT filesystem_*_mount:*srv”
works, but what I really wanted was:
knife search node -i “os:linux AND NOT filesystem_*_mount:/srv”
i.e. the search value is /srv rather than *srv.
But I can’t for the life of me figure out a syntax which makes it
happy with the “/”, any pointers?