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

Find depth or list at path #54

Closed
geetarista opened this issue Mar 8, 2013 · 0 comments
Closed

Find depth or list at path #54

geetarista opened this issue Mar 8, 2013 · 0 comments

Comments

@geetarista
Copy link
Contributor

We have quite a few groups or roles for machines in our infrastructure and I would like to use doozer to interact with those roles. A couple examples would be to list all services for a specific role in DNS lookups or to build a list of nodes to send a command to from another service. Currently if I were to doozer find /services/production/east/web it would like the following:

/services/production/east/web
/services/production/east/web/001
/services/production/east/web/001/ip
/services/production/east/web/001/status
/services/production/east/web/001/instance-id
/services/production/east/web/002
/services/production/east/web/002/ip
/services/production/east/web/002/status
/services/production/east/web/002/instance-id
/services/production/east/web/003
/services/production/east/web/003/ip
/services/production/east/web/003/status
/services/production/east/web/003/instance-id

What I would love to be able to do is provide a depth option for find or to add a new command list that would only list the items I want for a given directory. It would be the equivalent of get, but for a directory and not a file. With this I would be able to see this instead:

/services/production/east/web/001
/services/production/east/web/002
/services/production/east/web/003

Thoughts? Am I going about this the wrong way? Or would this be a welcomed feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant