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

nodeinfo should make one file #13

Open
pboothe opened this issue Jan 17, 2020 · 0 comments
Open

nodeinfo should make one file #13

pboothe opened this issue Jan 17, 2020 · 0 comments

Comments

@pboothe
Copy link
Contributor

pboothe commented Jan 17, 2020

It is increasingly obvious that nodeinfo is the right datatype to use. Instead of /var/spool/host/lspci /var/spool/host/iproute, etc, etc, we should just have one datatype nodeinfo and one directory: /var/spool/host/nodeinfo, and that should create a single json file containing the combined output of all the called commands. Something like:

[
  {
    Name: "uname",
    Cmd:      ["uname", "-a"],
    Output: "A big string, possibly multiline"
  },
...
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants