1# The inform constraint can be used to select which commands promises
2# generate output in INFO log level. INFO log level, is intendeted for
3# events which alter the state of the system, such as editing files, users,
4# etc. Since commands promises CAN modify the system, they create INFO
5# messages by default. However, not all commands promises do change the
6# system, so we let the policy writer customize this.
7
8bundle agent main
9{
10  commands:
11    "/bin/touch /tmp/module_cache"
12      inform => "true"; # Default
13    "/bin/cat /tmp/module_cache"
14      inform => "false", # Read-only promise, no INFO logging wanted
15      module => "true";
16}
17