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

Provide a more flexible variables affectation #27

Open
wilfriedroset opened this issue Oct 6, 2015 · 1 comment
Open

Provide a more flexible variables affectation #27

wilfriedroset opened this issue Oct 6, 2015 · 1 comment

Comments

@wilfriedroset
Copy link

Currently Milkcheck provide variables that would be used for every target. In an heterogeneous cluster, target may not have the same value for the same variable name (e.i: firmware version). It would be nice if Milkcheck provide a declarative system that respond to this need.

VARIABLES:
    bios: default_value
    bios.node[1-10]: testing_value
    bios.@different_hardware: specific_value

By default, all target will use default_value, node[1-10] will use testing_value, and target in the nodeset @different_hardware will use specific_value.

If node1 is in @different_hardware we should use the more precise value which would be use of the target name:

  1. target name (bios.foo1)
  2. nodeset (bios.foo[1-10])
  3. clustershell group (bios.@compute)
  4. no suffix (bios)
@degremont degremont changed the title Milkcheck sould provide a more flexible variables affectation Provide a more flexible variables affectation Oct 19, 2015
@degremont
Copy link
Collaborator

This sounds very like CHAOS genders. Maybe, we should consider adding this feature directly inside ClusterShell.

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

3 participants