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
This module enables autorun functionality so you can add policy files to `services/autorun` and tag bundles with `autorun` causing them to be automatically discovered and run.
2
2
3
-
Simple module to enable autorun functionality, using def.json.
3
+
A policy file you add to `services/autorun` could look like this:
4
+
5
+
```cfengine3
6
+
bundle agent my_example
7
+
{
8
+
meta:
9
+
"tags"
10
+
slist => { "autorun" };
11
+
reports:
12
+
"Hello, world!"
13
+
}
14
+
```
15
+
16
+
With autorun enabled, the policy file would be parsed, and the bundle evaluated without editing any of your existing files / policy.
17
+
18
+
It uses the augments file to achieve this, it is the same as editing your `def.json` file like this:
0 commit comments