- From: Alex Kiernan <
>
- To:
- Subject: [chef] Search syntax where you need a "/"
- Date: Wed, 18 Jan 2012 12:34:21 +0000
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?
--
Alex Kiernan
- [chef] Search syntax where you need a "/", Alex Kiernan, 01/18/2012
Archive powered by MHonArc 2.6.16.