This repository was archived by the owner on Mar 5, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Instruction file format
David Becvarik edited this page Jun 4, 2015
·
9 revisions
this is a very WIP - current formats servers POC purposes and it will definitively change. Any suggestion/bugs are welcomed!
the basic concept should look like:
- name: foo
description: foo bar baz
environment:
- global_var: value
changes:
- module:
- environment:
- module_var: value
- operation: operation argswhere:
- name - uniquely identifies a module - name-spacing is strongly recommend
- description - user friendly description of a change - optional
- changes - list of modules performing configuration changes - modules are executed in a specified order
- module - an object representing type of change i.e. run command, XML edit, jboss-cli operation
- operation - a step in a module like: adding XML attribute, removing element, ...
- environment - a list of variables - can be global for a change or local for any module
All variables are local to the object which defined them. and are overridden from top to bottom. So if there is same variable in module scope that value is used in module.