Classes are local to their bundle, except for the common bundles and
classes bodies. So you can either define that class in the edit_line
bundle, or pass a variable into it.
2010/10/5 JIM AMANATIDIS, BLOOMBERG/ 731 LEXIN :
>
> Is the correct way to reference HasCe inside config_etc_system this?
>
Looking for some help/info on classes scope, for example:
bundle agent foo1 {
classes:
"HasCe" expression => returnszero("/bin/grep \\\"ce\\\" /etc/path_to_inst",
"noshell");
files:
"/etc/system"
edit_line => config_etc_system;
}
bundle edit_line config_etc_sys