Displaying 1 result from an estimated 1 matches for "scope_of_class_b1".
2019 Jul 10
2
Scope of classes in CFE 3.10.2 on CentOS 7
...--------------------------------
bundle agent scope_of_class()
{
vars:
any::
"web_servers" slist => {
"ws-1.example.com",
"ws-2.example.com",
"webserver.example.com",
};
methods:
any::
"scope_of_class_b1" usebundle => scope_of_class_b1(
$(scope_of_class.web_servers) );
}
bundle agent scope_of_class_b1( server )
{
classes:
any::
"is_dir"
expression => isdir( "/tmp/scope_of_class/$(server)" ),
scope => "bundle";
repo...