You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: JSON.md
+25-36Lines changed: 25 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -223,7 +223,8 @@ These are copies of the module directories, where it's more "safe" to do things
223
223
## All available build steps
224
224
225
225
The build steps below manipulate the temporary files in the steps directories and write results to the output policy set, in `out/masterfiles`.
226
-
Unless otherwise noted, all steps are run inside the module's folder (`out/steps/...`) with sources / file paths relative to that folder, and targets / destinations mentioned below are relative to the output policy set (`out/masterfiles`, which in the end will be deployed as `/var/cfengine/masterfiles`). In `cfbs.json`'s `"steps"`, the build step name must be separated from the rest of the build step by a regular space.
226
+
Unless otherwise noted, all steps are run inside the module's folder (`out/steps/...`) with sources / file paths relative to that folder, and targets / destinations mentioned below are relative to the output policy set (`out/masterfiles`, which in the end will be deployed as `/var/cfengine/masterfiles`).
227
+
In `cfbs.json`'s `"steps"`, the build step name must be separated from the rest of the build step by a regular space.
Some modules allow for users to add module input by responding to questions
454
-
expressed under the `"input"` attribute in `cfbs.json`. User input can be added
455
-
using the `cfbs input <module-name>` command, which stores responses in
456
-
`./<module-name>/input.json`. These responses are translated into augments which
457
-
will be added to `./out/masterfiles/def.json` during `cfbs build`.
454
+
Some modules allow for users to add module input by responding to questions expressed under the `"input"` attribute in `cfbs.json`.
455
+
User input can be added using the `cfbs input <module-name>` command, which stores responses in `./<module-name>/input.json`.
456
+
These responses are translated into augments which will be added to `./out/masterfiles/def.json` during `cfbs build`.
458
457
459
458
### Create single file example
460
459
@@ -490,10 +489,8 @@ The `"input"` attribute takes a list of input definitions as illustrated below.
490
489
}
491
490
```
492
491
493
-
From the example above, we can see that the `"input"` list contains one input
494
-
definition. By running the command `cfbs input create-single-file`, the input
495
-
definition will be copied into `./create-single-file/input.json` along with the
496
-
user responses.
492
+
From the example above, we can see that the `"input"` list contains one input definition.
493
+
By running the command `cfbs input create-single-file`, the input definition will be copied into `./create-single-file/input.json` along with the user responses.
0 commit comments