run-shell-scripts

A cfbs module that runs shell/bash scripts.
Usage
cfbs add run-shell-scripts
cfbs input run-shell-scripts
cfbs build
| Variable |
Type |
Default |
Description |
run_shell_scripts:main.scripts |
file, repeatable |
- |
Path to a .sh/.bash script to run. |
run_shell_scripts:main.condition |
string |
any |
Class expression gating whether the scripts run. |
run_shell_scripts:main.ifelapsed |
string |
0 |
Minutes between runs (0 = every agent run). |
condition is a CFEngine class expression, e.g. Monday, linux, !any (never run).
Note: scripts uses the file input type, which requires cfbs 5.7.0 or newer.
Dependencies
This module has no dependencies