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

Support passing parameters to the underlying command (action) #5

Open
ghost opened this issue Nov 25, 2011 · 0 comments
Open

Support passing parameters to the underlying command (action) #5

ghost opened this issue Nov 25, 2011 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 25, 2011

On the command line:

Example: sequencer poweroff node[104-109] -- --noexec --Debug foo bar.

The underlying poweroff action will receive options --noexec, --Debug and parameters foo and bar.

Note however that since a given ruleset might execute several actions, some variables may be passed to some actions, other might not. Therefore, there should be a way to specify which variables should be passed to which action.

Something like: rule_name:'--option1 --option2 opt2_param2 param1 param2' might be a first trivial solution.

@ghost ghost self-assigned this Apr 22, 2012
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

0 participants